Mrs tan bought 8 kg of flour. She baked 4 cakes, using 751 g of flour for each cake. How many kilograms of flour did she have left?

Mrs Tan used a total of 751 g/cake x 4 cakes = <<751*4=3004>>3004 g of flour.

Since 1 kg is equal to 1000 g, then Mrs Tan used 3004 g / 1000 g/kg = <<3004/1000=3.004>>3.004 kg of flour for the cakes.
Therefore, Mrs Tan had 8 kg - 3.004 kg = <<8-3.004=4.996>>4.996 kg of flour left. Answer: \boxed{4.996}.