BUILDING YOUR OWN

How To Build A Home Battery That Runs Your House

Energy Storage
Updated

Why The Order Matters

People want to skip to the fun part: buying the battery.

Bad idea. If you buy the battery before you know how much power you actually use, you'll either get one too small (lights go out) or one too big (money wasted).

A home battery is never just a battery. It's a whole storage system made of several components: the battery, an inverter, a charge controller, a monitor, cables and fuses. Each part has to fit the one next to it, a bit like lego bricks that only click together in one order.

So the steps are in order for a reason. Follow the process in this order and you'll get it right the first time, whether your goal is riding out power outages or living fully off the grid. Getting it wrong is how most common mistakes happen.

Step 1. Assessing How Much Power You Use

Walk around your house. Make a list of everything that uses power. Fridge. Lights. Laptop. Whatever else.

For each one, write down two numbers. How many watts it uses, and how many hours a day it runs.

Multiply, add them all up, and divide by 1,000. That's your daily power use in kWh, and it's the most important number in the whole project. Every other choice in the system is built on it.

For a sense of scale: an average American home uses almost 30 kWh a day. An off-grid home that is careful with power can use a lot less, and each kWh you reduce here makes the battery smaller and cheaper. Swapping old bulbs for LEDs or an old fridge for an efficient one is often the cheapest battery upgrade there is.

The step 1 guide to assessing your power needs walks you through the list device by device.

Step 2. Selecting The Right Battery Type

This is where chemistry comes in. The main options:

LiFePO4 is the favorite for off-grid homes. Much less likely to catch fire than other lithium batteries, lasts many years, expensive up front.

Lead-acid is cheap, heavy, and dies faster. Works if budget is tight.

Saltwater has a liquid inside that cannot burn, so it is the hardest to set on fire. Heavier, lower power per kilo, and hard to buy. No battery is free of risk: each type still needs fuses, good cables and a sensible spot.

For most builds, LiFePO4 is the answer. Some makers even put the inverter and charge controller integrated in one box (Victron's EasySolar-II GX is one), which makes the setup simpler but harder to repair one part at a time.

Whatever you pick, a lithium battery needs a guard on board. Scientists call it a "battery management system", or BMS. That's just a small computer that watches each cell and cuts off charging when something goes wrong. Victron's own LiFePO4 battery, for example, has a BMS that stops charging when a single cell's voltage gets too high or the temperature gets too high or too low.

The step 2 guide to choosing a battery compares the options side by side, and the BMS guide explains what that little computer does.

Step 3. Sizing The Battery And Inverter

Now you use the numbers from step 1.

Start with: daily power use × number of backup days.

Many off-grid homes plan for 2 or 3 backup days. So if your house uses 5 kWh a day, you need 10 to 15 kWh that you can actually use.

But a battery's label is not what you can use. Two things eat into its capacity:

  • Don't drain it to zero. Batteries live longer when you don't empty them all the way. With LiFePO4 many people use about 80%. Victron's own LiFePO4 battery, for example, is rated for 2500 cycles at 80% and 5000 at 50%. Lead-acid should only use about half.
  • Losses on the way. The battery and the electronics around it lose some power as heat. Count on losing about 10%.

So divide by 0.8 × 0.9 = 0.72. For 5 kWh a day:

Backup daysUsable energy neededBattery size on the label
2 days10 kWhabout 14 kWh
3 days15 kWhabout 21 kWh

Three more things to consider before you buy:

  • Cold. Lithium batteries hold less when cold, and many may not be charged near freezing. Victron's LiFePO4 battery only allows charging from 5 °C up. Keep it in a frost-free place or pick one with a heater, so you avoid a battery that refuses to charge on the first cold morning.
  • Big loads. The battery (and its BMS) must deliver the current your loads pull at full power, not just store enough energy.
  • Charging. Your panels must be able to fill the battery again after the cloudy days, or the reserve never comes back.

Next comes the inverter. Think of it as a translator box: the battery stores DC power, and this box turns it into the AC power your sockets use. To size it, look at what runs at the same time. Fridge plus TV plus a few lights might be 1000 watts. Add 25% for safety and buy a 1250-watt model or bigger. This is an important number to get right, because a too-small one shuts off the moment the kettle and the fridge start together.

You don't have to do this math by hand. The battery calculator sizes the bank for you, and the inverter size calculator does the same for the AC side.

Step 4. Adding Solar To The Setup

Most home batteries are paired with solar panels. The panels fill the battery during the day, the battery runs the house at night. That's why people often call it a solar battery system.

How many panels? Divide your daily power use by your area's average sun hours. That tells you how much solar wattage you need. The solar power guide explains how the panels themselves work.

Can A Home Battery Backup System Work Without Solar?

Yes. A battery doesn't care where its power comes from, so you can fill it from the grid or a generator instead of panels.

That needs an inverter that can also charge, often called an inverter/charger. It pulls power in when the grid is on and takes over when the grid fails. For backup during short power outages, that may be all you need. Victron's MultiPlus-II, for example, takes over in under 20 milliseconds, fast enough that computers keep running. Without solar, though, the battery only lasts as long as its stored energy. Long outages require either a big battery or a generator, so step 1 and step 3 matter even more.

Step 5. Choosing A Charge Controller

This is the box between your solar panels and your battery. It makes sure the battery gets the right amount of power. Without it, strong sun would keep pushing energy in long after the battery is full and overcharge it.

There are two kinds. PWM is the simple one, close to an on/off switch. MPPT is the smart one: it finds the sweet spot where the panels give the most, then converts it to the voltage the battery wants.

Get an MPPT controller (not PWM) unless your system is tiny. In Victron's own example with the panel at 25 °C, a 100 W panel gave about 81 W through PWM and about 100 W through MPPT. On very hot panels the gap gets small.

The step 3 guide to charge controllers shows how to pick the amps and the voltage limit.

Step 6. Monitoring And Maintenance

Add a shunt and a monitor. A shunt is a small piece of metal on the battery's negative cable that lets a monitor count what goes in and out. A smart one costs a little over a hundred euros, which is small next to the price of the battery it protects.

It works like the fuel gauge in a car. Without it you're guessing how full the battery is, and guessing is how batteries get drained flat and worn out early. It's one of the cheapest ways to protect the performance of the whole system.

A lithium system needs little maintenance beyond that. Glance at the monitor, keep the battery in its safe temperature range, and check now and then that the connections are still tight. The guide do you need a monitoring system goes deeper into what to watch.

Step 7. Installing And Wiring It Safely

This is the step where people get hurt or burn things down. Don't rush the installation, and switch the system off and disconnect the battery before you work on it.

Use the right size cables, because thin ones get hot. Use the right size fuses: a fuse is there to protect the wires from too much current, so it has to match the cable or the device, whichever is lower. Make each connection tight, because a loose connection heats up and works itself looser.

A main fuse in the positive cable is the safety net for the whole battery system. Worth getting right.

The step 4 guide to wiring the system walks through the cables one by one. To check your numbers, use the fuse guide, the fuse calculator and the cable calculator.

Can You Build A Home Battery From Scratch?

You can build the system yourself, but building the battery from loose cells is a different, riskier project. This guide is about putting ready-made equipment together, not soldering cells, and that's the setup we'd recommend for a first home system.

Here's why. The fire safety group NFPA explains that a battery cell can go into "thermal runaway". That's a fancy name for a cell making heat faster than it can get rid of it. One hot cell can heat its neighbors, like dominoes, and end in a fire or explosion. Common triggers are a battery being dropped or crushed, getting too hot, or being overcharged or charged too fast.

A ready-made battery with its own BMS is designed and tested to stop most of that. In the US, the model home building code (IRC 2021) and NFPA 855 go further: home battery systems must be listed to the safety standard UL 9540, and one unit may normally hold at most 20 kWh. A pile of homemade cells won't carry that label.

Battery Safety: Where Should It Go?

Pick a dry, frost-free spot with room around it. In the US, the same codes normally cap the total at 40 kWh in utility closets and basements, and 80 kWh in garages or outdoors. Larger amounts are only allowed when extra fire tests (UL 9540A) back them up.

Rules differ by country and town, so check with your local building office before you start the installation. If solar panels are part of the plan, the guide to off-grid solar permits shows what to ask.

Is A DIY Home Battery Backup Worth It?

For many people, yes, as long as they take their time with the electrical work.

There are good reasons to build your own storage system instead of buying one finished box. You choose each part, you know where every cable goes, and when something stops working you know where to look. That knowledge is worth a lot when you live far from the nearest installer.

It's also flexible. You can start small and add more later: Victron's LiFePO4 battery, for example, can be linked up to 20 in one system. To see what the whole off-grid setup might cost, read what going off grid costs.

The trade-off is time and care. A finished system from an installer comes with someone else's warranty and sign-off, while a DIY installation is your own responsibility.

Tips For DIY Home Battery Builders

  • Measure your daily power use before you buy anything.
  • Pick a battery with its own BMS, and LiFePO4 for most homes.
  • Size the battery for your backup days, then the inverter for what runs at once.
  • Use MPPT if you add solar, and a shunt either way.
  • Fuse the positive cable, size the cables right and keep the battery frost-free.
  • If you've never touched mains wiring, get someone who has to check your work before you flip the switch.

The chemistry inside that battery holds more energy than you might think. Treat it with respect, keep an eye on the gauge, and it'll run your house for many years.

Sources

Hard Words

TermWhat it means
Daily power useThe total kWh your house uses in a day. The starting point for sizing the rest of the system.
LiFePO4Lithium iron phosphate. The off-grid favorite battery chemistry. Much less fire-prone than other lithium and rated for thousands of cycles.
BMSBattery management system. A small computer inside or next to a lithium battery that watches each cell and stops charging or discharging when something goes wrong.
Backup daysHow many cloudy days you want to survive without sun. Many off-grid homes plan for 2 or 3 days of battery reserve.
Battery sizeThe total kWh capacity of your battery bank. Daily use times backup days, divided by about 0.72 for the part you keep in reserve and the losses.
Inverter sizingPicking one big enough to handle what runs at once, plus 25 percent headroom.
MPPT controllerThe smart kind of charge controller that squeezes more out of your panels, especially on cloudy days.
PWM controllerThe simple kind of charge controller. Cheap but wastes more energy. Only use on tiny systems.
ShuntA small piece of metal between the battery negative and the rest of the system. Lets a monitor count exactly what flows in and out.
Cable sizingPicking wire thick enough to carry the current without overheating. Too thin equals fire.
Fuse sizingPicking a fuse that blows before the wire melts. Too big a fuse is just as bad as too small.
Thermal runawayWhen a battery cell makes heat faster than it can lose it. It can spread from cell to cell and end in a fire.
Mains wiringStandard household AC wiring. If you have not done it before, get someone who has to check your work.

Common Questions

Why does the order of steps matter so much?

Because each step's answer affects the next. If you do not know your daily power use, you cannot size the battery. If you do not know the battery size, you cannot size the cables or the inverter. Skip a step and you guess wrong, costing money and risking safety.

How do I figure out my daily power use?

For each device, write down its wattage and how many hours a day it runs. Multiply, add it all up and divide by 1,000 to get kWh. An average American home uses almost 30 kWh a day, but a careful off-grid home can use much less.

How big should my battery be?

Daily power use times the number of backup days you want, divided by about 0.72 because you should not drain it fully and some energy is lost on the way. A house using 5 kWh per day with 2 to 3 backup days wants about 14 to 21 kWh. More if your winters are long and dark.

How do I size the inverter?

Add up the watts of what runs at the same time (fridge, TV, lights, laptop). Add 25 percent headroom. Too small and it trips; too big and you waste money.

MPPT or PWM controller?

MPPT for any system bigger than a small camping setup. Makers often say up to about 30 percent more; in Victron's own example at 25 °C it was about 23 percent. It also lets you wire panels for higher voltage with thinner cable.

Why does monitoring matter?

Because the battery is one of the most expensive components. A smart shunt, a little over a hundred euros, shows how full the battery is at any moment. That stops you from accidentally wearing it out by draining it too far.

What's the most dangerous step?

Wiring it up. Wrong cable size can overheat. Wrong fuse size can fail to blow. Loose connections heat up. If you have never worked with mains-level wiring, get a qualified electrician to at least check your work before you flip the switch.

Can I really build this myself?

Yes, many people build the system from ready-made parts. Building the battery itself from loose cells is riskier. Plan carefully, follow the order, use a battery with its own BMS, and have someone with experience check the install before you switch it on.

On this page

Work it out