Trusted parts and tools for building high-quality 18650/21700 battery packs. Note: These are affiliate links. Purchasing through them costs you nothing extra, but helps keep ColonyCell free.
Smart BMS with active balancing, reliable protection for medium-power battery packs.
Perfect for electric bikes and scooters needing higher sustained current and active balancing.
Heavy-duty BMS for high-power applications like powerwalls or large EVs.
Reliable and portable spot welder for building and repairing 18650/21700 battery packs.
Essential for safety and low resistance connections. Avoid using plated steel!
High-power smart soldering iron for solid, reliable wire joints on heavy-gauge cables.
High power draw connectors with protective sheaths, perfect for battery outputs.
Interlocking plastic brackets to keep your cells spaced, secure, and well-ventilated.
If you're building a custom battery pack (like for an e-bike, powerwall, or RC project) using loose lithium cells, welding them together randomly is inefficient. Every single cell has slightly different health and capacity. This tool takes your cell test data and calculates the closest to absolute best way to arrange them so your final battery pack performs most efficiently.
Just set the Capacity Weight to 100% and Resistance Weight to 0% in the configuration. Leave the resistance fields blank (or at 0) when adding your cells, and the tool will completely ignore resistance, packing everything based purely on capacity.
A battery pack is only as strong as its weakest link (the weakest parallel group). If you accidentally group too many low-capacity cells together, that specific group will run out of juice first, and your Battery Management System (BMS) will shut off your whole battery early. By letting this app distribute the capacity evenly, you get maximum range and won't waste good energy.
Follow steps:
In a parallel group, cells share the electrical load. If one cell has a much lower resistance than the ones next to it, it will do most of the heavy lifting. This makes it heat up faster and die sooner. Balancing the resistance ensures all cells share the work evenly, which is much safer and makes your pack last years longer.
Save your spreadsheet using semicolons (;) as separators. The order for each row must be: ID;Capacity;Resistance;Manufacturer;Condition. Do not include a title/header row at the top. If you don't have some info (like Manufacturer), just leave it blank between the semicolons. Make sure the ID is a normal number.
It runs in two stages. First, it uses a "greedy" algorithm to do a rough distribution based on how you set the weight sliders. After that, it runs a hill-climbing optimization, the algorithm simulates thousands of tiny cell swaps between your parallel groups until it finds the absolute mathematically tightest balance across the whole pack.
This is an open-source battery pack optimizer. It calculates the most efficient distribution of lithium-ion cells for custom battery packs. Traditional tools often ignore internal resistance, which leads to unbalanced parallel groups and shorter lifespan. This tool uses a C++ backend compiled to WebAssembly for fast processing directly in the browser.
Privacy & Security: Because this tool utilizes WebAssembly, the optimization algorithm runs 100% locally on your own computer. Your battery data, custom configurations, and uploaded CSV files are processed entirely in your browser and are never uploaded, saved, or sent to any external server.
I am Justas, an Informatics Engineering student at KTU, Lithuania. I developed this tool while building a custom electric bicycle (up to 90km range) using recycled laptop lithium-ion cells. The goal was to mathematically ensure the best possible range and pack longevity. My interests include system programming, security, and practical engineering solutions.
Email: [email protected]
GitHub: github.com/NaroeDEVs
Website: justasmerkis.me