In terms of lost lives, there were plenty of other bombings in World War 2 that were more costly than the bombs dropped in Hiroshima and Nagasaki.
The firebombing of Tokyo was one of those.
So I think the shock effect of the devastation just one bomb could do is what shook the Emperor and other military leaders to surrender.