Despite the many benefits to owning an e-bike, the average price of one is quite high; resting between $2,000 and $3,000, according to the National Conference of State Legislatures. But with a little work, you can convert your existing non-electric bicycle into an e-bike, allowing you to reap the same benefits for a fraction of the cost.

Pedal-assist sensor: Detects when you’re pedaling, and turns on the electric motor after it detects a predetermined level of pedaling intensity.Magnetic brake cut-off switches: Located on each brake lever, these cut power to the electric motor when you brake. Bike computer: Displays information such as the battery’s current charge state and how fast you’re going.

Once that’s done, the right motor for your bike depends on a few things: whether you have a mountain bike, road bike, or hybrid bike; your bicycle’s current brake setup; and how much you’re willing to spend. With all that in mind, you have four types of motors to choose from.

Mid-mounted motor

As its name suggests, a mid-mounted motor is mounted in the middle of the bicycle frame, between the pedals. This provides a low center of gravity and the feel of a traditional bike. The position of the motor means its weight isn’t as noticeable. Its central placement away from the wheels also means tire repairs will be easier—the other types of motors tend to get in the way of tire changes. It’s also attached to the bike’s gearing system, leading to longer, more efficient rides per charge if you use pedal assist. But while its excellent weight distribution makes a mid-mounted motor the best choice for road cyclists, this type does have some drawbacks. For one, it is more expensive (usually from $275 to $400). Its low mounting location also increases its risk of hitting obstacles, which could cause issues for riders who want to take their bikes off-road.

Side-mounted motor

This type of motor is usually bolted to the left wheel of the bicycle (on the opposite side of the gearing sprockets). It’s a simple setup where the motor drives the rear wheel using a secondary chain. This is the cheapest motor option (around $86 to $165), and while it won’t result in the fastest e-bike, it will get the job done. If you want to cut down on cost, this is the motor for you.

How to select batteries for your e-bike conversion

These days, with the proliferation of electric scooters, electric bicycles, electric skateboards, and other electric modes of transportation, batteries are readily available. There are many to choose from, but lithium-ion batteries are the best choice for an e-bike conversion. The easiest way to get your hands on some is to use battery modules that were intended to be used with one of the electric transportation devices mentioned earlier. Some retailers even sell used batteries that are in excellent condition. While it is possible to assemble a battery module from individual 18650 lithium-ion battery cells, this is complicated and will require spot welding and buying a battery management system. It’s much easier to purchase a pre-assembled pack from a website such as AliExpress or Battery Hookup. However, if you have the skills and are up for the challenge, EBikeSchool.com has an excellent tutorial on how to build your own battery pack if you’re interested in making one from scratch. The batteries within a battery pack, or group, are wired in series, and these groups are then wired in parallel to create a single module. Since motors usually are rated for 24, 36, or 48 volts, you will need a battery module that has a matching voltage. When buying battery modules, you have the option to get multiple battery packs with this voltage, and you can connect multiple packs with the required voltage to increase the capacity of your final battery module. Don’t forget: You will also need a charger to go along with your batteries. You can use the following equation to determine the voltage of the charger you need: Number of batteries in series in a single battery pack x 4.2 volts = charger voltage This means that for a 24-volt battery pack, which uses groups of seven, 3.7-volt 18650 lithium-ion batteries in series, you will need a 29.4-volt charger. For a 36-volt module, which uses 10 such cells in series, you will need a 42-volt charger. Finally, for a 48-volt battery module, which uses groups of 13 18650 cells in series, you will need a 54.6-volt charger. 

29.4V charger for 24V battery packs42V Charger for 36V battery packs54.6V charger for 48V battery packs

You will also need to think about where you want to mount your e-bike battery. These are the options:

Rear cargo rack: If your bike doesn’t already have one of these, you can install one and mount your batteries there. However, this could negatively affect the handling of your bike, especially if the motor is mounted in the back as well—the added weight of the batteries shifts the bicycle’s center of gravity more toward the rear.Triangle mount: For bikes with hard tails, there is a relatively large triangular space between the bike’s frame tubes. You can buy a triangle frame bag to put your batteries in and hang in this area. This spot is a good option if you want to maintain a reasonable center of balance. Top tube mount: This is yet another option for not offsetting the center of balance of your bike too much. There are bags available that you can mount to your bike’s top tube. You can easily store your batteries in one of these bags.

The bike you build determines how far you’ll go

There are a few factors that determine the range of an e-bike. The battery capacity certainly matters, but so do your speed, the terrain, your weight, and the type of tires you’re using. These factors naturally vary between different owners and bikes. Since we’re talking about a DIY project here, it’s hard to say what the exact range will be. But if you get a battery with a capacity of more than 300 watt-hours, you should have a range of roughly 15 miles (24 kilometers). Every mile (1.6 kilometers) should use up about 20 watt-hours. With this knowledge in mind, you’re well on your way to building a DIY e-bike that will get you where you need to go in a sustainable, enjoyable way. Putting it together is only the beginning. Update, January 26, 2022: An earlier version of this story was unclear about how the batteries are connected. We have updated the story to clarify.