Mexico is approximately 1,964,375 sq km, while Costa Rica is approximately 51,100 sq km, making Costa Rica 2.6% the size of Mexico. Meanwhile, the population of Mexico is ~128.6 million people (123.6 million fewer people live in Costa Rica).
This to-scale map shows a size comparison of Mexico compared to Costa Rica. For more details, see an in-depth quality of life comparison of Costa Rica vs. Mexico using our country comparison tool.