Madrid is about 625 times smaller than Japan.

Japan is approximately 377,915 sq km, while Madrid is approximately 604 sq km, making Madrid 0.16% the size of Japan.
Tip: This to-scale comparison of Japan vs. Madrid uses the Mercator projection, which distorts the size of regions near the poles.