Madrid is about 3,152 times smaller than Indonesia.

Indonesia is approximately 1,904,569 sq km, while Madrid is approximately 604 sq km, making Madrid 0.03% the size of Indonesia.
Tip: This to-scale comparison of Indonesia vs. Madrid uses the Mercator projection, which distorts the size of regions near the poles.