These two sea creatures were similarly-sized. The megalodon likely had a much more powerful bite and was a competent, stealthy killer. However, the Livyatan was used to prolonged battles and had much larger teeth, so it would probably win if the two met in a dark corner of the ocean.