[MENTION=10100429]Kimmitzi[/MENTION], the bus and the ferry take approximately the same time (4.30 to 5 hours), I would personally go for the ferry, the only disadvantage is that it runs only once per day (while buses run multiple times per day).
Ferry price is HRK 280 (EUR 37), tickets can be purchased online, schedule and further info on
https://www.krilo.hr/en/sailing-sche...lit-dubrovnik/
Bus price is HRK 170 (EUR 23), tickets for many of the services can be bought online, schedules and info on
https://www.buscroatia.com