Which was traded for Japanese civilians though, no?
That said, had the bombs not been dropped, estimates ran into the millions for Allied casualties and tens of millions for Japanese (civilian + soldiers) casualties.
Ultimately it boils down to an issue of numbers (achieved by expediency).