To calculate the required battery capacity:
1. Determine your motor's current draw using this formula:
Current Draw = Motor Power (W) ÷ Battery Voltage (V)
2. Multiply the total current draw by desired flight time in hours:
Capacity (mAh) = Current Draw × Flight Time × 1000
For example, if your drone's four motors each draw 10A at 14.8V, and you want 15 minutes of flight time:
Add 20% capacity for safety margin and consider environmental factors like wind and payload weight.