Kazakhstan is clearly the larger of the two: about 2,712,747 km² km² against 1,626,369 km² km², roughly 1.7× at true size. Drag one onto the other on the map above to feel the gap.
Kazakhstan sits in Asia, Libya in Africa. On the old Mercator map the latitude gap distorted how large each felt beside the other; at true size the answer is simply 1.7×.
The old map muddied it further: Mercator inflates Kazakhstan about 2.3× and Libya about 1.3×, so on a Mercator-style map this pair appears 3× apart instead of the true 1.7×.
Libya fits 1× into Kazakhstan.