What the numbers mean
With lithium cylindrical cells, the size is in the name: 18650 stands for approx. 18 mm diameter and 65 mm length (the 0 stands for the cylindrical design), 21700 for 21 mm × 70 mm. The designation describes only the design, not the cell chemistry.
18650 or 21700? The 21700 cell has almost 50 % more volume and usually more capacity: in our overview, the manufacturer data for lithium-ion cells range from 2,000 to 3,500 mAh (18650) and from 3,000 to 5,700 mAh (21700). The two formats are not interchangeable – a battery pack is built for one format, with its cell holders, connectors and housing.
Nickel cells have their own names such as Sub-C, AA or 4/3FA. A nickel cell of similar size operates at 1.2 V and is not an interchangeable 18650 cell.