When shopping for an electric bike, most people compare motor wattage, battery voltage, amp-hours, and advertised riding range. However, another specification deserves attention: the type of lithium-ion cells inside the battery.
Two common cylindrical battery formats are 18650 and 21700.
For years, 18650 cells have been widely used in electric bicycles, power tools, laptops, and other rechargeable devices. Today, more e-bike manufacturers are adopting 21700 cells, which are physically larger and can store more energy per cell.
Does that mean every 21700 battery is better?
Not necessarily.
A high-quality 18650 battery can outperform a poorly designed 21700 battery. The difference depends on cell chemistry, discharge capability, thermal management, battery management systems (BMS), and overall pack engineering.
Understanding these differences helps riders make better purchasing decisions, particularly when comparing powerful fat-tire e-bikes, long-range models, and bikes designed for demanding terrain.
In this guide, we will compare the actual specifications of both cell formats, calculate how many cells are needed for common e-bike batteries, explain their impact on riding performance, and explore when 18650 remains a sensible choice.
We will also use the Himiway D5 2.0 20-inch as a real-world example.

1. What Are 18650 and 21700 E-Bike Battery Cells?
Both 18650 and 21700 refer to cylindrical lithium-ion battery cell formats.
Their names describe their approximate physical dimensions:
- 18650: 18 mm in diameter and 65 mm in length.
- 21700: 21 mm in diameter and 70 mm in length.
The final zero indicates a cylindrical shape.
Although the difference looks relatively small, a 21700 cell has considerably more internal volume.
| Specification | 18650 | 21700 |
|---|---|---|
| Nominal diameter | 18 mm | 21 mm |
| Nominal length | 65 mm | 70 mm |
| Typical capacity examples | 2.5–3.5 Ah | 4.0–5.0 Ah |
| Nominal voltage | 3.6–3.7V | 3.6–3.7V |
| Physical format | Cylindrical | Cylindrical |
| Common applications | E-bikes, tools, electronics | E-bikes, EVs, power applications |
These capacity ranges are examples, not fixed specifications. Actual capacity depends on the individual cell model.
For instance, Molicel offers two useful examples:
- Its INR-18650-P28A has a typical capacity of 2,800 mAh.
- Its INR-21700-P42A has a typical capacity of 4,200 mAh.
Both are 3.6V cells, but the P42A stores 50% more energy per cell.
This is one of the main reasons battery manufacturers are interested in the 21700 format.
2. 18650 vs. 21700: A Real Technical Comparison
To understand the difference, it helps to compare actual manufacturer specifications instead of relying on generic battery claims.
The following comparison uses two Molicel power-cell models.
| Specification | Molicel P28A | Molicel P42A |
|---|---|---|
| Cell format | 18650 | 21700 |
| Typical capacity | 2.8 Ah | 4.2 Ah |
| Nominal voltage | 3.6V | 3.6V |
| Energy per cell | 10.08 Wh | 15.12 Wh |
| Published discharge current | 35A | 45A |
| Maximum diameter | 18.6 mm | 21.7 mm |
| Maximum height | 65.2 mm | 70.2 mm |
| Maximum weight | 46 g | 70 g |
| Gravimetric energy density | 219 Wh/kg | 230 Wh/kg |
| Volumetric energy density | 589 Wh/L | 615 Wh/L |
Sources:
Several important observations emerge.
2.1 A 21700 Cell Stores More Energy
The P42A offers 4.2Ah compared with 2.8Ah for the P28A.
The calculation is straightforward:
18650 P28A:
3.6V × 2.8Ah = 10.08Wh
21700 P42A:
3.6V × 4.2Ah = 15.12Wh
The 21700 cell stores 50% more energy in this particular comparison.
This does not mean every 21700 cell offers 50% more capacity than every 18650 cell. It illustrates what manufacturers can achieve with these two models.
2.2 Energy Density Does Not Improve as Dramatically as Capacity Per Cell
Here is an important distinction that many battery comparisons overlook.
The P42A has 50% more capacity than the P28A, but its published gravimetric energy density is only about 5% higher.
Its volumetric energy density is approximately 4.4% higher.
Why?
Because the 21700 cell is also larger and heavier.
Its main advantage is that manufacturers can store more energy in each individual cell, potentially reducing the number of cells and connections needed for a given battery capacity.
It is not a technology that automatically makes an e-bike battery dramatically lighter.
2.3 Higher Discharge Capability Depends on the Cell Model
The Molicel P42A is rated for a 45A continuous discharge current, compared with the P28A's published 35A discharge rating.
This makes the P42A an interesting example of a high-capacity 21700 cell that also offers substantial discharge capability.
However, cell format alone does not determine power output.
Some 18650 power cells can deliver more current than certain high-capacity 21700 cells.
When comparing batteries, always check the manufacturer's discharge-current specifications rather than assuming that all 21700 cells are high-power cells.
Also remember that a cell's maximum discharge rating is not the same as the battery pack's usable output. The BMS, parallel configuration, wiring, and temperature limits determine what the complete battery can safely deliver.
3. Why Modern E-Bike Manufacturers Are Moving Toward 21700 Cells
There are several practical engineering reasons behind the adoption of larger cylindrical cells.
Reason 1: More Battery Capacity Without Adding as Many Cells
This is probably the most important advantage.
Consider an illustrative 48V battery with approximately 16.8Ah capacity.
Using the Molicel cells discussed above:
- A 21700 P42A configuration needs four parallel cells to provide 16.8Ah.
- An 18650 P28A configuration needs six parallel cells to provide 16.8Ah.
A typical 48V lithium-ion architecture uses 13 cell groups in series.
Therefore:
21700 configuration:
13S4P = 13 × 4 = 52 cells
18650 configuration:
13S6P = 13 × 6 = 78 cells
Both configurations provide approximately 16.8Ah at the same nominal voltage.
However, the 21700 design uses 26 fewer cells.
That represents approximately one-third fewer individual cells.
This can reduce the number of cell connections, welding points, and individual cell-monitoring requirements.
It can also simplify certain aspects of battery manufacturing.
Importantly, these are theoretical configurations using the specified Molicel cells. They are not the internal configuration of the Himiway D5 2.0 battery.
Reason 2: More Design Flexibility for High-Capacity Batteries
E-bike manufacturers increasingly need to balance several competing requirements:
- Long riding range.
- Powerful motors.
- Reasonable battery dimensions.
- Acceptable battery weight.
- Frame integration.
- Reliable thermal management.
A larger cell can make it easier to achieve a desired battery capacity with fewer individual cells.
For example, a manufacturer designing a 720Wh battery has several possible approaches.
It could use a larger number of smaller cells or a smaller number of higher-capacity cells.
The choice affects the battery enclosure, cell arrangement, wiring, manufacturing process, and BMS architecture.
For modern fat-tire e-bikes, where riders often expect substantial battery capacity, the 21700 format offers useful design flexibility.
Reason 3: Fewer Connections Can Simplify Battery Construction
Every cylindrical cell needs to be electrically connected to the battery pack.
A battery with more cells generally requires more individual connections.
Reducing the number of cells can reduce the number of welding points and simplify assembly.
It may also reduce the number of individual cell measurements required by the battery management system.
However, fewer cells do not automatically guarantee a safer battery or lower electrical resistance. Connection quality, cell matching, busbar design, and protection circuitry remain important.
For additional technical background, see the research paper Energy Density of Cylindrical Li-Ion Cells: A Comparison of Commercial 18650 to the 21700 Cells, published in the Journal of The Electrochemical Society.
Reason 4: Better Options for High-Power Applications
Modern e-bikes increasingly feature powerful motors and higher torque.
For example, some fat-tire models use 750W motors, while more powerful mid-drive and off-road models may have even higher electrical demands.
A battery must supply sufficient current without excessive voltage drop or overheating.
The relationship between electrical power, voltage, and current is:
Power (W) = Voltage (V) × Current (A)
For example:
48V × 15A = 720W
A cell with good discharge capability and low internal resistance can help a battery deliver power more effectively.
Some 21700 cells, including the Molicel P42A, are specifically engineered for demanding discharge applications.
However, high-power 18650 cells remain competitive. The correct comparison is between actual cell models and complete battery designs, not simply between two physical sizes.
4. How Many 18650 or 21700 Cells Are Needed for a 48V or 52V E-Bike Battery?
This is one of the most practical questions for anyone comparing e-bike batteries or researching battery construction.
The answer depends on two things:
- How many cells are connected in series to achieve the required voltage?
- How many cells are connected in parallel to achieve the required capacity?
Understanding Series and Parallel Connections
Series connections increase voltage.
Parallel connections increase amp-hour capacity and allow current to be shared among cells.
A typical lithium-ion configuration uses:
- 13S for a battery marketed as 48V.
- 14S for a battery marketed as 52V.
The exact nominal voltage depends on the cell specification and manufacturer convention.
For example, using 3.6V nominal cells:
- 13 × 3.6V = 46.8V.
- 14 × 3.6V = 50.4V.
These configurations are commonly marketed as 48V and 52V battery systems.
Example: Comparing 48V Battery Cell Counts
Using the actual Molicel cells from our earlier comparison:
| Battery design | Cell model | Parallel configuration | Total cells | Capacity |
|---|---|---|---|---|
| 48V example | 21700 P42A | 13S4P | 52 | 16.8Ah |
| 48V example | 18650 P28A | 13S6P | 78 | 16.8Ah |
Both examples provide approximately the same nominal energy:
46.8V × 16.8Ah = 786.24Wh
The 21700 configuration requires fewer individual cells.
These configurations exceed a 15Ah target because the selected cell capacities do not divide evenly into 15Ah. They are theoretical comparisons, not specifications for a commercially available 48V 15Ah battery.
Example: Comparing 52V Battery Cell Counts
A typical 52V lithium-ion battery uses 14 cells in series.
Using the same Molicel models:
| Battery design | Cell model | Parallel configuration | Total cells | Capacity |
|---|---|---|---|---|
| 52V example | 21700 P42A | 14S4P | 56 | 16.8Ah |
| 52V example | 18650 P28A | 14S6P | 84 | 16.8Ah |
Both examples provide approximately the same nominal energy:
50.4V × 16.8Ah = 846.72Wh
The important lesson is that you cannot determine the exact number of cells from voltage and amp-hours alone.
You also need the individual cell capacity.
What about the Himiway D5 2.0 20-inch?
Himiway specifies a 48V 15Ah battery using Samsung/LG 21700 cells.
Its nominal battery energy is:
48V × 15Ah = 720Wh
The published specifications do not identify the exact cell model or internal series-parallel arrangement, so it would be incorrect to claim that the battery contains a specific number of cells based only on its capacity and cell format.
Product specifications: Himiway D5 2.0 20-inch.
5. Do 21700 Cells Actually Increase E-Bike Riding Range?
The short answer is: not automatically.
A battery's total energy capacity, measured in watt-hours (Wh), is more useful for estimating potential riding range than its individual cell format.
The basic calculation is:
Battery Energy (Wh) = Voltage (V) × Capacity (Ah)
For example:
48V × 15Ah = 720Wh
A 720Wh battery stores approximately 720 watt-hours of nominal energy.
An e-bike's theoretical range can be estimated using:
Estimated Range (miles) = Usable Battery Energy (Wh) ÷ Energy Consumption (Wh per mile)
Suppose an e-bike consumes an average of 18Wh per mile.
720Wh ÷ 18Wh per mile = 40 miles
This is an illustrative calculation, not a guaranteed riding range.
Actual consumption changes depending on:
- Rider and cargo weight.
- Motor power and controller settings.
- Pedal-assist level.
- Throttle usage.
- Riding speed.
- Tire pressure and tire resistance.
- Hills and road surfaces.
- Wind resistance.
- Ambient temperature.
- Battery condition.
Why 21700 Can Still Help With Longer Range
The benefit comes from what manufacturers can do with the larger cells.
If a manufacturer can fit more total watt-hours into a similar battery enclosure, the bike may achieve longer range.
For example:
- A 48V 12Ah battery provides approximately 576Wh.
- A 48V 15Ah battery provides approximately 720Wh.
The second battery stores 25% more nominal energy.
The improvement comes from increased battery capacity, not simply from changing the cell format.
If two batteries have identical voltage and amp-hour ratings, their nominal energy is essentially the same regardless of whether they use 18650 or 21700 cells.
6. Real-World Example: Himiway D5 2.0 20-Inch
One useful example of a modern e-bike using 21700 technology is the Himiway D5 2.0 20-inch.
Its published specifications include:
| Specification | Himiway D5 2.0 20" |
|---|---|
| Battery voltage | 48V |
| Battery capacity | 15Ah |
| Nominal battery energy | 720Wh |
| Cell format | Samsung/LG 21700 |
| Battery protection rating | IPX6 |
| Motor | 750W |
| Motor torque | 90Nm |
| Advertised pedal-assist range | Up to 70 miles |
| Advertised throttle range | Up to 40 miles |
| Charger | 48V, 3A |
Source: Himiway D5 2.0 20-inch Official Specifications.
Why Does the 21700 Battery Make Sense Here?
The D5 2.0 combines a 750W motor, 90Nm torque, and a 720Wh battery.
This combination is designed to provide a balance of power and riding range.
The battery's 21700 cells offer the manufacturer an opportunity to build a relatively high-capacity battery without requiring as many individual cells as a comparable lower-capacity 18650 design.
For riders, the practical questions are:
- Is 720Wh enough for the distances I regularly ride?
- Can the battery supply the current required by the motor controller?
- Is the battery protected against water exposure?
- Is the charging system compatible with the battery?
- Can I obtain a replacement battery in the future?
These questions are more important than simply seeing the words 21700 on a product specification sheet.
For riders comparing a 750-watt e-bike, battery capacity and discharge capability deserve particular attention.
Similarly, someone choosing a fat-tire electric bike for mixed terrain should consider total battery energy, tire resistance, rider weight, and expected riding conditions.
If comfort on rough roads is important, comparing the battery alongside the complete full-suspension e-bike design makes more sense than evaluating cells in isolation.
For riders who regularly travel longer distances, overall battery capacity is also a key consideration when comparing long-range e-bikes.
7. Voltage Sag: Can 21700 Batteries Deliver More Consistent Power?
Voltage sag is an important battery characteristic that can affect how an e-bike performs under load.
When a motor demands high current, the battery's voltage can temporarily decrease.
This is called voltage sag.
A simplified relationship is:
Voltage Sag (V) = Current (A) × Internal Resistance (Ω)
For example, a battery with higher internal resistance will generally experience more voltage drop when supplying the same current.
Excessive voltage sag can cause:
- Reduced available motor power.
- Less responsive acceleration.
- Earlier low-voltage protection activation.
- Greater heat generation within the battery.
A suitable 21700 cell may help reduce these problems if it has low internal resistance and sufficient discharge capability.
However, the P42A versus P28A comparison illustrates why individual specifications matter.
Molicel publishes the following characteristics:
- P28A 18650: 35A discharge rating.
- P42A 21700: 45A continuous discharge rating.
These ratings are specific to those models and their test conditions.
A high-quality 18650 cell can still provide excellent power delivery.
The battery's parallel configuration is equally important because it determines how the total current is distributed across individual cells.
8. Heat Dissipation: Are 21700 Batteries Cooler?
Not necessarily.
A common misconception is that larger battery cells automatically run cooler.
In reality, battery heat generation depends on electrical current and internal resistance.
A simplified relationship is:
Heat Generation (W) = Current² (A²) × Resistance (Ω)
For example, if a battery has an internal resistance of 0.05Ω and supplies 20A:
20² × 0.05 = 20W
This is a simplified illustration of resistive heat generation, not a complete thermal model of an e-bike battery.
Reducing internal resistance or distributing current across more parallel cells can reduce heat generation under comparable operating conditions.
However, larger cells also have different physical and thermal characteristics.
The number of cells, their arrangement, electrical connections, enclosure design, and cooling strategy all influence battery temperature.
A 21700 battery with poor thermal management can still overheat.
A properly engineered 18650 battery can operate reliably under demanding conditions.
When comparing batteries, look for information about:
- Battery temperature protection.
- BMS protection functions.
- Cell quality and consistency.
- Pack construction.
- Continuous discharge ratings.
- Manufacturer testing and certification.
Do not use cell diameter as a substitute for actual thermal performance data.
9. Cold Weather: Is 21700 Better Than 18650 in Winter?
Battery performance can change significantly in cold weather.
Low temperatures can increase internal resistance and reduce the amount of energy a battery can deliver.
However, the 21700 format does not automatically solve this problem.
Cold-weather performance depends on:
- Cell chemistry.
- Electrode design.
- Internal resistance.
- Battery temperature.
- Discharge current.
- Battery management.
- Charging conditions.
One particularly important issue is charging a cold lithium-ion battery.
For example, the Molicel P42A datasheet specifies a charging temperature range of 0°C to 45°C.
Its discharge temperature range is different.
This illustrates why charging and discharging limits should never be treated as interchangeable.
For winter riders:
- Store the battery in a suitable temperature-controlled environment.
- Avoid charging a battery that is below its specified charging temperature.
- Allow a cold battery to return to the permitted charging temperature before connecting the charger.
- Avoid leaving the battery exposed to extreme cold for extended periods.
- Follow the specific battery manufacturer's instructions.
The important point is that cell format alone does not determine winter performance.
10. Battery Lifespan: Do 21700 Cells Last Longer?
Not automatically.
Battery lifespan is influenced by several factors:
- Cell chemistry and manufacturing quality.
- Charge and discharge rates.
- Operating temperature.
- Depth of discharge.
- Charging habits.
- Battery management system.
- Long-term storage conditions.
A high-quality 18650 cell may have better cycle-life characteristics than a particular 21700 cell.
Likewise, a well-designed 21700 battery may outlast a poorly manufactured 18650 battery.
When comparing cycle life, look for the manufacturer's actual test conditions.
A claim of 500 cycles, for example, is incomplete without knowing:
- Charging current.
- Discharging current.
- Charging voltage.
- Discharge cutoff voltage.
- Temperature.
- Remaining capacity threshold.
Two manufacturers may use different conditions when reporting cycle life.
Consequently, comparing cycle counts without checking the testing methodology can be misleading.
11. Battery Safety: Is 21700 Safer Than 18650?
Battery safety is one of the most important considerations when purchasing an e-bike.
However, larger cells are not inherently safer.
Both 18650 and 21700 batteries use lithium-ion technology and require appropriate protection.
A properly engineered battery should include a suitable battery management system (BMS).
Depending on its design, the BMS can provide protection against:
- Overcharging.
- Over-discharging.
- Overcurrent.
- Short circuits.
- Excessive temperature.
- Cell-group voltage imbalance.
Battery construction also matters.
Poor-quality cells, inadequate insulation, weak electrical connections, damaged wiring, and unsuitable chargers can create serious risks regardless of cell format.
Why UL Certification Matters
In the United States, two standards are particularly relevant.
UL 2849: Electrical Systems for E-Bikes
This standard evaluates the electrical system of an e-bike, including the battery, drive system, BMS, wiring, and charger-related components.
UL 2271: Batteries for Use in Light Electric Vehicle Applications
This standard addresses batteries used in light electric vehicles, including relevant e-bike battery applications.
You can read more from UL Solutions' e-bike certification information and its micromobility certification resources.
When buying an e-bike, check the certification of the actual product and battery rather than assuming that a particular cell brand or format guarantees safety.
Always use the charger specified by the e-bike manufacturer.
12. When Does an 18650 E-Bike Battery Still Make Sense?
Despite the advantages of 21700 cells, 18650 technology remains relevant.
There are several situations where an 18650 battery can be the better engineering choice.
12.1 Compact Battery Designs
An 18650 cell is smaller in diameter and shorter than a 21700 cell.
This can be helpful when manufacturers need to fit a battery into a narrow frame or a particularly compact enclosure.
For some designs, the smaller physical dimensions offer more flexibility.
12.2 Lower-Cost Battery Production
The 18650 format has an established manufacturing and supply chain.
Depending on the cell manufacturer, model, production volume, and sourcing conditions, 18650 cells may offer attractive pricing.
A manufacturer designing a budget-oriented electric bicycle may find that a properly engineered 18650 battery provides sufficient performance at a competitive cost.
12.3 Moderate Power Requirements
Not every electric bike needs an extremely high-capacity battery or high-discharge cells.
A commuter bike used for relatively short daily trips may not need the same battery architecture as a powerful off-road e-bike.
A good 18650 battery can provide adequate range and power when correctly matched to the motor and controller.
12.4 Existing Battery Compatibility
Battery compatibility is another important consideration.
If an e-bike was designed around an 18650 battery pack, switching to 21700 cells is not necessarily a practical upgrade.
The battery enclosure, cell holders, electrical connections, BMS, and other components may all require redesign.
For owners of existing bikes, a manufacturer-approved replacement battery is generally a much better choice than attempting to convert the original pack.
13. Can You Replace 18650 Cells With 21700 Cells in an E-Bike Battery?
In most cases, this is not a direct replacement.
Although both formats are cylindrical lithium-ion cells, they have different physical dimensions.
A 21700 cell is larger, so it may not fit into the original 18650 battery enclosure or cell holders.
There are also electrical considerations.
A proper replacement must account for:
- Cell chemistry and nominal voltage.
- Individual cell capacity.
- Series and parallel configuration.
- BMS compatibility.
- Maximum charging current.
- Maximum continuous discharge current.
- Temperature protection.
- Charger compatibility.
- Physical insulation and mechanical support.
Even if the replacement cells have the same nominal voltage, that does not mean they are electrically or mechanically interchangeable.
Replacing individual lithium-ion cells also involves potentially dangerous high-current battery connections and requires specialized knowledge and equipment.
For most e-bike owners, replacing the complete battery with an approved compatible pack is the safer approach.
14. How to Choose Between an 18650 and 21700 E-Bike Battery
Rather than choosing a battery based on its cell format alone, evaluate the complete battery system.
Here is a practical checklist.
| What to Compare | What to Look For |
|---|---|
| Battery energy | Compare Wh, not just Ah |
| Cell manufacturer | Look for identifiable, reputable manufacturers |
| Cell model | Check the actual datasheet when available |
| Discharge capability | Confirm continuous current ratings |
| BMS | Check protection functions and current limits |
| Battery construction | Look for proper insulation and connections |
| Safety certification | Verify applicable battery and e-bike certifications |
| Charger | Confirm compatibility with the battery |
| Replacement availability | Check whether approved replacement batteries are available |
| Warranty | Review battery-specific warranty coverage |
A Practical Buying Example
Imagine you are comparing two electric bikes:
Bike A
- 48V 15Ah battery.
- 720Wh nominal energy.
- 18650 cells.
Bike B
- 48V 15Ah battery.
- 720Wh nominal energy.
- 21700 cells.
Both batteries have essentially the same nominal energy capacity.
If the bikes have similar efficiency and riding conditions, the 21700 format alone does not guarantee longer range.
To make a better decision, compare their cell specifications, discharge capabilities, BMS, battery construction, overall bike weight, and warranty.
This is a much more reliable way to choose an electric bike.
15. Frequently Asked Questions
Are 21700 Batteries Better Than 18650 Batteries for E-Bikes?
21700 cells generally offer higher capacity per individual cell, which can reduce the number of cells required to build a battery with a given capacity.
However, actual performance depends on the cell model, chemistry, discharge capability, and battery design.
A high-quality 18650 battery can outperform a poorly designed 21700 battery.
Do 21700 E-Bike Batteries Provide Longer Range?
Not automatically.
Range depends primarily on total battery energy in watt-hours and the energy consumed by the e-bike.
A 720Wh 18650 battery and a 720Wh 21700 battery have approximately the same nominal energy capacity.
If other factors are equal, their theoretical range should be similar.
How Many 21700 Cells Are Needed for a 48V Battery?
A typical 48V lithium-ion battery uses 13 cells in series.
The number of parallel cells depends on the capacity of each individual cell.
For example, using 5Ah cells:
- 48V 10Ah: 13S2P = 26 cells.
- 48V 15Ah: 13S3P = 39 cells.
- 48V 20Ah: 13S4P = 52 cells.
These are illustrative configurations, not specifications for any particular commercial battery.
How Many 21700 Cells Are Needed for a 52V Battery?
A typical 52V lithium-ion battery uses 14 cells in series.
Using 5Ah cells:
- 52V 10Ah: 14S2P = 28 cells.
- 52V 15Ah: 14S3P = 42 cells.
- 52V 20Ah: 14S4P = 56 cells.
Actual cell counts depend on the selected cell capacity and battery design.
Do 21700 Cells Charge Faster?
Not necessarily.
Charging speed depends on the individual cell's permitted charging current, battery configuration, BMS, charger output, and thermal conditions.
A larger cell does not automatically mean faster charging.
Do 21700 Batteries Last Longer Than 18650 Batteries?
There is no universal answer.
Cycle life depends on the cell model, chemistry, temperature, charging and discharging conditions, and battery management.
Always compare manufacturer cycle-life data under similar test conditions.
Are 21700 Batteries Safer?
Not inherently.
Both formats require appropriate cell quality, battery protection, insulation, temperature management, and compatible charging equipment.
The safety of the complete battery system is more important than the cell's physical dimensions.
Does the Himiway D5 2.0 Use 21700 Cells?
Yes.
According to Himiway's published specifications, the D5 2.0 20-inch uses a 48V 15Ah battery with Samsung/LG 21700 cells.
Its nominal battery energy is 720Wh, calculated from 48V × 15Ah.
See the official Himiway D5 2.0 product page.