How Do E-Bikes Work? Motors, Batteries, and Controls Explained

Electric bicycles have reshaped modern transportation, yet many riders wonder what happens beneath the paint when they step on the pedals. At first glance, an e-bike looks like a standard bicycle with an oversized downtube and a few extra cables. Underneath, a network of mechanical and electrical components converts stored chemical energy into smooth forward motion. When I evaluate an electric bike, I look at how smoothly the motor, sensors, battery, and controller communicate with each other.

Every electric bike relies on four core electrical building blocks working alongside traditional bicycle parts like chains, cogs, and hydraulic disc brakes. These four elements include the electric motor, the lithium-ion battery pack, the pedal-assist sensors, and the electronic motor controller. Understanding how these parts interact helps riders choose the right machine and troubleshoot common issues on the road. For related pricing context, you can consult our detailed breakdown of how much an electric bike costs.

How the Core Components Work Together

The operation of an electric bicycle begins at the crankset or rear wheel. As you begin pedaling, sensors detect either the rotation of the cranks or the actual force you apply. The sensor immediately transmits a low-voltage electrical signal to the motor controller, which acts as the computer brain of the bike. The controller reads this data alongside your current assist level setting on the handlebar display.

Once the controller calculates the required power, it opens electronic gate valves called MOSFETs inside its housing. This allows direct current electricity to flow from the battery pack into the motor stator windings. The electromagnets inside the motor spin the rotor, generating torque that drives the wheels. When you stop pedaling or squeeze the brake levers, cut-off switches instantly signal the controller to halt power delivery within milliseconds.

Electric Motors: Mid-Drive vs Hub Drive Systems

Electric bicycle brushless hub motor component internal view
Mid-drive motors mount directly at the bottom bracket, while hub motors sit inside the front or rear wheel axle.

The motor provides the mechanical assistance that reduces pedaling effort on climbs and against headwinds. Modern electric bikes use brushless DC motors, which eliminate physical brushes to reduce friction, minimize heat buildup, and extend operating life. In my experience riding different drive systems, motor placement drastically alters how a bicycle handles and climbs.

Hub motors sit directly inside the center of the front or rear wheel. Rear hub motors are the most common drive type on affordable commuter and utility e-bikes. Inside a geared hub motor, a small high-speed electric rotor spins a planetary gear system, transferring torque directly to the wheel shell. Because hub motors drive the wheel directly, they operate independently of the bicycle drivetrain. If your chain snaps miles from home, a throttle-equipped rear hub bike can still propel you forward.

Mid-drive motors mount centrally at the bottom bracket between the pedals. Instead of driving the wheel directly, a mid-drive motor channels its torque straight into the front chainring, driving the bicycle chain and rear cassette. This design allows the motor to take advantage of the bike mechanical gears. Shifting into an easy gear on a steep incline allows the motor to spin at its optimal cadence without bogging down or overheating. Mid-drive systems deliver exceptional hill climbing efficiency and balanced center-of-gravity weight distribution.

Lithium-Ion Battery Packs and Power Delivery

Lithium-ion battery pack and power controller mounted on an electric bicycle
A lithium-ion e-bike battery pack contains cylindrical cells managed by an integrated circuit board.

The battery pack serves as the fuel tank of the electric bicycle. Most modern e-bikes use lithium-ion battery packs built from arrays of 18650 or 21700 cylindrical cells wired in series and parallel. These cells, typically manufactured by Samsung, LG, Panasonic, or certified Tier-1 suppliers, store energy measured in watt-hours (Wh).

A battery rating consists of voltage and amp-hours. Multiplying voltage by amp-hours yields watt-hours, which represents the total energy capacity. For example, a 48-volt pack with a 15-amp-hour capacity holds 720 watt-hours of energy. A higher watt-hour rating translates directly into longer riding range under identical operating conditions. In my riding logs, a typical commuter drawing 20 watt-hours per mile achieves roughly 36 miles on a 720 Wh pack.

Every quality battery contains an internal Battery Management System (BMS). The BMS monitors cell temperatures, balances voltages during charging, and prevents hazardous conditions like overcharging, deep discharge, and short circuits. In urban centers, battery certification has become a mandatory legal requirement, as established in UL 2849 and UL 2271 battery standards.

Pedal-Assist Sensors: Cadence vs Torque Sensing

Electric bicycle handlebar control display and pedal assist sensor system
Pedal-assist sensors measure either crank revolution speed or rider foot pressure to regulate electric assist.

How an electric bike feels to pedal depends heavily on its sensor technology. The sensor tells the controller when you want assistance and how much power to supply. E-bikes use either cadence sensors, torque sensors, or hybrid combinations of both.

Cadence sensors act as simple on-off switches. A magnetic disc mounted to the crank spindle passes a sensor pickup as you pedal. When the magnets spin past the pickup, the controller delivers power based strictly on the selected assist level, regardless of how hard you push. While affordable and easy to maintain, basic cadence sensors can feel jerky, initiating assistance with a slight delay and accelerating abruptly.

Torque sensors measure the actual physical force you exert against the pedals using strain gauges inside the bottom bracket spindle. The harder you push, the more current the controller feeds to the motor. If you press gently on flat ground, the motor provides a subtle whisper of assistance. If you stomp down to climb a steep hill, the motor surges instantly with full power. In my view, torque sensors provide the most natural, bicycle-like riding experience available.

Comparing Hub Motors and Mid-Drive Motors

Choosing between hub and mid-drive motor configurations requires balancing terrain, riding style, budget, and mechanical complexity. The table below outlines how these two dominant drive configurations compare across key performance metrics.

FeatureHub Drive MotorMid-Drive Motor
Drive LocationFront or rear wheel hub axleBottom bracket frame center
Gearing AdvantageFixed 1:1 drive; bypasses gearsDrives chain; uses rear cassette
Hill Climbing AbilityModerate; can heat up on long steep gradesExceptional; uses low gears for max torque
Chain and Drivetrain WearLow; zero motor stress on chain or cogsHigh; motor multiplies mechanical chain wear
Flat Tire Repair DifficultyModerate to high; requires disconnecting wiringStandard bicycle wheel removal procedure
Average Cost Range$800 to $2,200$2,000 to $7,000+

Controllers, Displays, and Throttle Controls

The electronic motor controller sits hidden inside the bicycle frame downtube or within the battery cradle. It manages the delicate dance between sensor inputs, battery discharge currents, and motor phase wires. High-performance controllers employ sine-wave or field-oriented control algorithms to eliminate motor humming noises and smooth out acceleration ramps.

On the handlebars, riders interact with the system through a digital display and button pad. Displays show speed, battery voltage, trip distance, and assist levels ranging from 1 to 5. Many North American e-bikes also include a thumb or twist throttle. Pressing the throttle delivers motorized propulsion without pedaling, capped at 20 mph under federal regulations. Integrated brake levers feature micro-switches that automatically cut motor power the instant you touch the levers, guaranteeing safe stopping distances under all conditions.

Frequently Asked Questions

Do you have to pedal an electric bike?

On Class 1 and Class 3 electric bicycles, you must pedal for the motor to provide assistance. Class 2 e-bikes include a throttle that can propel the bike up to 20 mph without pedaling, though pedaling extends battery range significantly.

Can you ride an e-bike with a dead battery?

Yes. When the battery runs out of charge, an electric bike operates like a conventional bicycle. Because e-bikes weigh between 40 and 75 pounds, pedaling without motorized assist requires more physical effort, especially on uphill grades.

How long does an e-bike battery last before needing replacement?

High-quality lithium-ion e-bike battery packs retain roughly 70 to 80 percent of their original capacity after 500 to 800 full charge cycles. For average riders charging twice weekly, this translates to three to five years of reliable service.

Can electric bikes get wet in the rain?

Most commercial electric bicycles carry IPX4, IPX5, or IPX6 water resistance ratings, allowing safe riding in rain and through puddles. However, you should never submerge an e-bike in standing water or clean electrical connectors with high-pressure sprayers.

Bicycling Land Editors
Bicycling Land Editorshttps://bicyclingland.com/about/
The Bicycling Land editors research bikes, e-bikes and cycling gear for US riders. Recommendations are built on manufacturer specifications, independent reviews, owner reports and safety records, with every claim linked to its source. Read how we work on our editorial policy page.

Popular Guides

Related Articles