Electric Bike How It Works: Motor, Battery and Sensors Explained
Electric bike how it works: a battery powers a motor, while sensors and a controller decide how much help you get. Most models use the same basic parts, even though designs and brands differ. As of October 30, 2026, this basic setup is consistent across the sources reviewed.
Pedal-assist and throttle systems trigger the motor in different ways, and that choice affects the legal class of a bike. Knowing the difference helps you choose a model and a speed setting. If you are new to the topic, start with what an ebike is.
In This Guide
ToggleWhat Are the Main Parts of an Electric Bike?
An electric bike has four main parts: a motor, a battery, sensors, and a controller with a display. Each one has a separate job, and they work together every time you ride. Drivetrain choices are explained in drivetrain types and parts.
The motor supplies the extra power, usually in the hub or at the bottom bracket. The battery stores the energy, and its watt-hour rating gives a rough idea of potential range. The controller reads the signals and sets motor output.
- Motor: adds torque, usually in the front or rear hub or at the bottom bracket.
- Battery: stores energy, measured in watt-hours (Wh).
- Sensors: detect pedaling, speed or the force you apply to the pedals.
- Controller and display: sets the assist level and shows the settings.
How Does Pedal Assist Work?
Pedal assist works when sensors detect your pedaling and the controller raises or lowers motor power to match the assist level you select. Assist levels are covered in pedal assist levels and who they suit.

When you stop pedaling, the motor stops adding power in a pedal-assist system. That is why these bikes need you to keep the cranks turning to get help.
| Sensor | What it detects | Ride feel |
|---|---|---|
| Torque sensor | How hard you push on the pedals | Assist scales with your effort and usually feels smooth |
| Cadence sensor | Whether the cranks are turning | Assist starts on pedal movement and can feel more abrupt |
What Is the Difference Between Pedal Assist and Throttle?
Pedal assist needs you to pedal before the motor adds power, while a throttle lets the motor run without pedaling. Some bikes offer both, and the choice affects the legal class in many places. Throttle designs are covered in throttle types and local rules.
- Pedal assist: power only while you pedal, usually up to a set speed.
- Throttle: power on demand, operated by a thumb or twist control.
- Both: many bikes let the rider switch between pedal assist and throttle.
What Do the Speed Classes Mean?
In the United States, low-speed e-bikes are often grouped into Class 1, 2 and 3. Class 1 is pedal-assist only up to 20 mph, Class 2 adds a throttle up to 20 mph, and Class 3 is pedal-assist up to 28 mph. Class labels are explained in what each ebike class means.

Rules vary by state and by country, so check local law before you ride on a path or a shared trail.
Why Does Knowing How It Works Matter When You Shop?
Knowing how an electric bike works helps you compare battery size, motor power and sensor type before you buy. Those choices shape range, feel and legal use.
Compare watt-hour ratings for range, motor specs for climbing and sensor type for ride feel. This guide explains the common setup, not the details of any one model, so check the specifications for the bike you want.
What Electric Bike How It Works Means for Maintenance
Knowing the parts helps you spot problems early. The battery needs sensible charging and storage, the motor and sensors need to stay clean and dry, and the brakes and tires wear like any bike. Keep the owner’s manual, since it lists the service intervals and connector care for your system.
Electric Bike How It Works on a Typical Ride
When you press the power button, the controller wakes up and reads the sensors. As you pedal, a sensor reports your pedaling speed, force or both, and the controller sends the motor a matching amount of battery power.
When you stop pedaling, or when you reach the assist speed limit, the controller reduces or cuts the power. A throttle skips the sensor step and asks for power directly.
Hub Motors and Mid-Drive Motors Compared
The Wikipedia overview of electric bicycles describes two main motor layouts. A hub motor is built into a wheel hub, usually the rear one, and is common on affordable bikes and conversion kits. A mid-drive motor sits at the bottom bracket and drives the chain, so it works with the bike’s gears and is more efficient across a wide speed range, especially on steep hills.
| Layout | Where it sits | Typical strength |
|---|---|---|
| Hub motor | In the front or rear wheel | Simple, common on lower-priced bikes |
| Mid-drive motor | At the bottom bracket | Uses the gears, helpful on steep hills |
Mid-drive systems pass power through the chain and gears, so those parts wear faster. Hub motors keep the drivetrain separate, but they add weight to one wheel.
What the Battery and Controller Do
Most e-bikes use lithium-ion batteries. The capacity in watt-hours equals battery voltage multiplied by amp-hours, so a 36 V, 10 Ah pack stores 360 Wh. Published range figures vary widely with assist level, terrain and rider weight, so treat them as estimates.
The controller is the link between battery and motor. It receives signals from the sensors, throttle and display, then limits the current sent to the motor. Some bikes also offer regenerative braking, where the motor acts as a generator while slowing the bike and returns a small amount of charge.
Related Guides
- Read more: a buyer guide to choosing an electric bike
- Read more: safe e-bike battery charging
Frequently Asked Questions
Do electric bikes need pedaling to work?
Not always. Pedal-assist models add power only while you pedal. Throttle models can run without pedaling, and many bikes offer both. Check the controller settings or the owner’s manual to see which modes your bike has.
What does watt-hour mean on an electric bike battery?
Watt-hours measure the battery’s stored energy. A higher number generally means more potential range, though riding style, terrain, rider weight and assist level change the result. Compare watt-hour ratings within the same type of bike.
What is the difference between a torque sensor and a cadence sensor?
A torque sensor measures how hard you push on the pedals, so assist scales with effort. A cadence sensor detects only whether the cranks are turning, which can make assist start more abruptly. Torque sensing usually feels smoother, though designs vary.
Is an electric bike the same as a moped?
Not in most places. Classification depends on pedals, motor power and top speed. Low-speed electric bicycles are often regulated differently from mopeds, but rules vary by state and country, so check local law.
How fast can an electric bike go?
It depends on the class and local rules. Under the common US class system, Class 1 and 2 bikes assist up to 20 mph, while Class 3 pedal-assist bikes assist up to 28 mph. Check state rules before riding fast on paths.
If you are comparing bikes, start with the battery size, motor type and sensor style, then check the class you need for local riding. Those three details shape most of the day-to-day experience.
Lauren Whitfield researches and compares electric bikes by analyzing verified customer reviews, Trustpilot ratings, and manufacturer specifications. The goal is simple: help shoppers find the right deal without spending hours digging through the details.