Costa Rica has a total area of 51,100 square kilometers, making it 19,730 square miles.