Ivan could have concievedly been a 100 megaton device, if the Soviets had not chosen to use a non-functioning "tamper"(lead, in this case). Had they used U-238 (depleted Uranium) instead, that would have been the 3rd stage of the fission-fusion-fission thermonuclear "hydrogen bomb" 3 stage reaction/detonation.
Here's an old pic, pre-detonation, of course ;)