Krabi is very close to the ocean. It's basically about 8887 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Ao Nang.
How far is Vancouver, WA from the ocean
How far is Sedona from the ocean
How far is Dana Point from the ocean
How far is Key Largo from the ocean
How far is Annapolis from the ocean
How far is Miami from the ocean
How far is Newport, OR from the ocean
How far is Pasadena from the ocean
How far is Tahoe City from the ocean
How far is Belgrade from the ocean