The following countries operate or have operated submarines for naval or other military purposes.
Ballistic missile submarines are larger than any other type of submarine, in order to accommodate ballistic missiles capable of carrying nuclear warheads.