TheGreenWatt

Solar Battery Sizing Calculator: How To Size Your Battery Bank (+ LiFePO4 Guide)

Battery kWh = daily energy usage × days of autonomy ÷ depth of discharge. A home using 10 kWh per day that wants 2 days of backup with LiFePO4 batteries (80 % DoD) needs 25 kWh of battery storage. That is five 48V 100Ah server rack batteries or two 48V 200Ah units. This guide includes an interactive sizing calculator, the full LiFePO4 vs lead-acid comparison, popular battery sizes and prices, charging with solar, and the step-by-step formula with worked examples.

I sized my own battery bank the hard way — two years of reading forums, watching Will Prowse teardowns, and second-guessing every decision. The formula itself is simple (three numbers multiplied and divided). The hard part is choosing between LiFePO4 and lead-acid, picking the right voltage, and understanding that "10 kWh battery" does not mean 10 kWh of usable energy. This guide gives you the formula, the calculator, and the context to make the decision in an afternoon rather than a month.

How To Size A Solar Battery Bank (Quick Formula)

Battery kWh = Daily kWh usage × Days of autonomy ÷ Depth of Discharge
VariableWhat it meansTypical values
Daily kWh usageHow much energy you consume per dayCheck your bill: monthly kWh ÷ 30
Days of autonomyHow many days the battery should last without sunGrid backup: 1 · Off-grid: 2–3 · Remote: 3–5
Depth of discharge (DoD)How much of the battery you can safely useLiFePO4: 80 % · Lead-acid: 50 %

Quick Reference

Daily usage1 day backup (LiFePO4)2 days backup3 days backup
5 kWh/day6.3 kWh12.5 kWh18.8 kWh
10 kWh/day12.5 kWh25 kWh37.5 kWh
15 kWh/day18.8 kWh37.5 kWh56.3 kWh
20 kWh/day25 kWh50 kWh75 kWh
30 kWh/day37.5 kWh75 kWh112.5 kWh

Most homes need 10–20 kWh for basic overnight backup (grid-tied with battery). Full off-grid homes need 20–50 kWh depending on usage and location.

Solar Battery Sizing Calculator

Enter your daily energy usage, desired backup days, battery chemistry, and system voltage. The calculator outputs total battery capacity needed, number of common battery sizes, estimated cost, and a 25-year lifetime cost comparison between LiFePO4 and lead-acid.

Your Battery Bank Requirements
kWh/day
Check your electric bill: monthly kWh ÷ 30
days
Grid backup: 1 day · Off-grid: 2–3 · Remote: 3–5
Battery bank size needed
0.0kWh
10 kWh/day × 2 days ÷ 80% DoD = 25 kWh usable capacity (521 Ah at 48V)
Total energy stored
20.0kWh
10 kWh/day × 2 days
Required capacity (Ah)
521Ah @ 48V
After 80% DoD adjustment
Estimated cost
$7.5k–$12.5k
LiFePO4 pricing
48V 100Ah (5.12 kWh)
5batteries
5.12 kWh each
48V 200Ah (10.24 kWh)
3batteries
10.24 kWh each
25-Year Lifetime Cost Comparison
LiFePO4 (1 set, lasts 15+ yr)
$10,000
25 kWh × ~$400/kWh
Lead-Acid AGM (3 replacements)
$24,000
40 kWh × ~$200/kWh × 3 sets

Step-By-Step: How To Calculate Your Battery Bank Size

Step 1 — Determine Daily kWh Usage

For grid-tied backup: Look at your electric bill. Take your monthly kWh and divide by 30. If you only want to back up essential loads (fridge, lights, internet, phone charging, sump pump), your critical daily usage is typically 3–8 kWh — much less than your total daily usage.

For off-grid: Add up everything you plan to run:

ApplianceWattsHours/dayDaily kWh
LED lights (10 bulbs)10060.6
Refrigerator1508 (compressor cycling)1.2
Laptop/phone charging10040.4
TV8040.3
Well pump75010.75
Wi-Fi router15240.36
Microwave1,2000.250.3
Total3.9 kWh

A small off-grid cabin uses 3–6 kWh/day. An average off-grid home (without AC or electric heating) uses 8–15 kWh/day. A full off-grid home with mini-split AC and electric cooking uses 15–30 kWh/day.

Step 2 — Choose Days Of Autonomy

Use caseDays of autonomyWhy
Grid-tied backup (outage protection)0.5–1Grid returns within hours; battery covers the gap
Grid-tied with frequent outages1–2Multi-day outages possible (hurricanes, ice storms)
Off-grid, sunny climate2Reliable solar refill most days
Off-grid, variable weather2–3Multiple cloudy days possible
Remote, no backup generator3–5Extended cloudy periods, no alternative power source

Step 3 — Account For Depth Of Discharge

LiFePO4: 80–90 % usable. A 10 kWh LiFePO4 battery gives you 8–9 kWh before the BMS cuts off to protect cell longevity. This is the standard DoD for sizing calculations.

Lead-acid (AGM or flooded): 50 % usable. Discharging lead-acid below 50 % dramatically shortens cycle life. A 10 kWh lead-acid battery gives you only 5 kWh of usable energy. This means you need twice the nominal capacity compared to LiFePO4.

Step 4 — Choose System Voltage

System voltageBest forCurrent at 5 kW loadCable gauge needed
12VPortable, RV, under 1 kW417 A2/0 AWG (impractical)
24VCabin, RV, 1–3 kW208 A2 AWG
48VHome, off-grid, 3+ kW104 A4 AWG

48V is the standard for home energy storage. Lower current means thinner cables, smaller fuses, smaller charge controllers, and less voltage drop. Every serious home battery system in 2026 uses 48V.

Step 5 — Calculate And Select Batteries

Example: Average home backup

  • Daily usage: 10 kWh
  • Autonomy: 2 days
  • Chemistry: LiFePO4 (80 % DoD)
  • Voltage: 48V
Battery kWh = 10 × 2 ÷ 0.80 = 25 kWh
Battery Ah  = 25,000 Wh ÷ 48V = 521 Ah

Battery selection: Five 48V 100Ah (5.12 kWh each = 25.6 kWh total) or three 48V 200Ah (10.24 kWh each = 30.7 kWh total, slight oversize).

What Is A LiFePO4 Battery? (And Why It Is Best For Solar)

LiFePO4 stands for lithium iron phosphate — a lithium battery chemistry that uses iron phosphate (FePO4) as the cathode material instead of the nickel-manganese-cobalt (NMC) or nickel-cobalt-aluminum (NCA) used in EV batteries and Tesla Powerwalls.

Why LiFePO4 Is The Best Chemistry For Solar Storage

  1. Cycle life: 4,000–6,000 cycles at 80 % DoD. At one cycle per day, that is 11–16 years. Lead-acid AGM lasts 500–1,000 cycles (1.5–3 years at daily cycling).

  2. Depth of discharge: 80–90 % vs 50 % for lead-acid. You get 60–80 % more usable energy from the same nominal capacity.

  3. Safety: No thermal runaway. The iron phosphate cathode is thermally stable — it does not decompose or release oxygen at high temperatures. NMC lithium (Tesla Powerwall chemistry) can enter thermal runaway above 210 °C. LiFePO4 remains stable above 270 °C.

  4. Flat discharge curve. LiFePO4 maintains nearly constant voltage from 90 % to 20 % state of charge (3.2–3.3 V per cell). This means consistent power output until the battery is nearly empty. Lead-acid voltage sags progressively as it discharges.

  5. Zero maintenance. No watering, no equalization charges, no acid off-gassing, no corrosion. Install and forget.

  6. Weight: 50–60 % lighter than lead-acid for the same usable energy. A 5.12 kWh LiFePO4 server rack battery weighs ~100 lbs. An equivalent lead-acid bank (10.24 kWh nominal for 5.12 kWh usable at 50 % DoD) weighs ~300 lbs.

The One Disadvantage: Upfront Cost

LiFePO4 costs $300–$500 per kWh vs $100–$250 per kWh for lead-acid. But when you factor in usable capacity (DoD), cycle life, and replacements over 25 years, LiFePO4 is the cheapest option per kWh delivered:

MetricLiFePO4Lead-acid AGM
Cost per kWh (nominal)$300–$500$150–$250
Usable DoD80 %50 %
Cost per usable kWh$375–$625$300–$500
Cycle life5,000800
Total lifetime kWh delivered40,000 kWh per 10 kWh battery4,000 kWh per 10 kWh battery
Cost per lifetime kWh$0.08–$0.13$0.38–$0.63
Replacements in 25 years1 set (lasts 15+ yr)3–5 sets

LiFePO4 is 3–5× cheaper per kWh delivered over its lifetime. The upfront premium pays for itself within 3–5 years of daily cycling.

LiFePO4 vs Lead-Acid AGM vs Flooded: Scored Comparison

LiFePO4 dominates on every performance metric except upfront cost. It delivers 4,000–6,000 charge cycles (vs 500–1,000 for AGM), 80–90 % usable depth of discharge (vs 50 %), 95 % round-trip efficiency (vs 80–85 %), and zero maintenance. The only metric where lead-acid wins is initial purchase price — but when you divide cost by total lifetime kWh delivered, LiFePO4 is the cheapest option.

LiFePO4AGMFlooded0510Cycle lifeDepth of dischargeRound-trip efficiencyWeight (per kWh)MaintenanceUpfront costCost per kWh (lifetime)SafetyTemperature rangeScore 1–10, higher = better (except upfront cost: higher = cheaper)

Popular LiFePO4 Battery Sizes For Solar

Popular LiFePO4 Battery Sizes For Solar Systems

LiFePO4 batteries for solar come in five common sizes. The 12V 100Ah (1.28 kWh) is the entry point for RVs and small systems. The 12V 280Ah prismatic cell is the DIY builder's favorite — buy raw cells, add a BMS, and build a custom bank at 30–50 % less than pre-built. The 48V server rack batteries (5.12 and 10.24 kWh) are the standard for whole-home backup and off-grid systems. Higher voltage (48V) means lower current, thinner wire, and smaller charge controllers.

Size comparison (not to exact scale) — smaller to larger capacity →1.28 kWh12V 100Ah$350–$500RV, camping, small2.56 kWh12V 200Ah$600–$900Cabin, medium off-grid3.58 kWh12V 280Ah$250–$400DIY cells (no case)5.12 kWh48V 100Ah$1,500–$2,500Home backup, server rack10.24 kWh48V 200Ah$3,000–$5,000Whole-home, off-gridPopular brands: EG4 · SOK · Redodo · BattleBorn · Renogy · Victron · Ampere TimePrices are 2026 estimates for LiFePO4 with built-in BMS (except 280Ah bare cells)

Size Guide By Application

ApplicationBattery sizeCountTotal kWhEstimated cost
RV / camper van12V 100Ah1–21.3–2.6$350–$1,000
Small cabin (3 kWh/day)12V 200Ah or 48V 100Ah2–35–15$1,200–$4,000
Home backup (essentials)48V 100Ah2–310–15$3,000–$6,000
Home backup (whole-home)48V 100Ah or 200Ah4–620–30$6,000–$15,000
Full off-grid home48V 200Ah4–840–80$12,000–$30,000
Tesla Powerwall equivalent48V 100Ah315.4$4,500–$7,500

The Tesla Powerwall comparison: A Powerwall 3 stores 13.5 kWh at about $9,200 installed ($681/kWh). Three 48V 100Ah LiFePO4 server rack batteries store 15.4 kWh at about $4,500–$7,500 ($290–$490/kWh) plus a compatible hybrid inverter ($2,000–$4,000). The DIY route is 30–50 % cheaper but requires more setup and has no Tesla app integration. See How Many Amp-Hours Is A Tesla Powerwall for the detailed Powerwall specs.

How To Charge LiFePO4 Batteries With Solar

LiFePO4 requires a charge controller with a LiFePO4 charging profile — which most modern MPPT controllers support (Victron, EPever, Renogy, and others all include LiFePO4 presets).

LiFePO4 Charging Parameters (12V Battery)

ParameterValueNotes
Bulk/absorption voltage14.2–14.6 V (3.55–3.65 V/cell)Check your battery's BMS specs
Float voltage13.6 V (3.4 V/cell)Some LiFePO4 makers recommend no float
Max charge current0.5C typical (50A for 100Ah)BMS limits this automatically
Low-temp cutoff0 °C (32 °F)BMS blocks charging below freezing

Critical: Never charge LiFePO4 below 0 °C. Charging below freezing causes lithium plating on the anode, permanently damaging the cells. Most pre-built LiFePO4 batteries include a BMS with built-in low-temperature cutoff. Some (SOK, EG4) include a self-heating pad that warms the cells before charging resumes.

Controller selection: Use MPPT for any system over 200 W — it delivers 25–43 % more energy to the battery than PWM. See MPPT vs PWM Charge Controller for the full comparison and sizing calculator. For wiring panels to the controller and battery, see How To Connect Solar Panels To A Battery.

LiFePO4 Portable Power Stations

Portable power stations are all-in-one units with a built-in LiFePO4 battery, inverter, charge controller, and outlets. They are not the same as a home battery bank — they are smaller, self-contained, and designed for camping, emergencies, and portable use.

FeatureHome battery bankPortable power station
Capacity5–80+ kWh0.3–4 kWh typically
Voltage48V (usually)12V/24V internal
InverterSeparateBuilt-in
PortabilityFixed installationCarry by hand
Cost per kWh$300–$500$500–$1,000
Best forHome backup, off-gridCamping, tailgating, emergency

Popular LiFePO4 portable stations: EcoFlow Delta 2 Max (2 kWh), Bluetti AC200MAX (2 kWh), Jackery Explorer 2000 Plus (2 kWh), Goal Zero Yeti 3000X (3 kWh).

For home backup, a dedicated battery bank + inverter is more cost-effective and expandable. For portable use, a power station is convenient but expensive per kWh.

DIY LiFePO4 Battery Bank

Building from raw prismatic cells (the EVE LF280K 280Ah cell is the most popular) saves 30–50 % vs pre-built batteries. A 48V 280Ah DIY bank (14.3 kWh) costs roughly $1,500–$2,500 in parts vs $3,500–$5,000 pre-built.

What you need: 16 cells (for 48V nominal: 16 × 3.2V = 51.2V), a BMS (JBD, Daly, or JK, rated for your max current), bus bars, compression rods, a case or rack, and fuses.

Risks: No manufacturer warranty, assembly requires care (torque specs on bus bars, cell balancing before first use, BMS configuration), and LiFePO4 cells at full charge hold significant stored energy — short circuits can be dangerous. This is a project for people comfortable with electrical work, not a beginner build.

How Many Batteries For Off-Grid Solar?

Daily usageAutonomyBattery kWh (LiFePO4, 80% DoD)48V 100Ah batteries48V 200Ah batteries
5 kWh2 days12.5 kWh32
10 kWh2 days25 kWh53
10 kWh3 days37.5 kWh84
15 kWh2 days37.5 kWh84
15 kWh3 days56.3 kWh116
20 kWh2 days50 kWh105
20 kWh3 days75 kWh158

Off-grid sizing tip: Size your battery bank for your worst month production, not the annual average. If your solar panels produce only 40 % of their annual average in December (typical at 42°N latitude), your battery bank must cover the gap. A backup generator for the worst 2–3 weeks of winter is often more cost-effective than doubling the battery bank. See Solar Panels And Snow — Winter Output for monthly production expectations.

Common Misreadings

  1. "A 10 kWh battery gives me 10 kWh." Only with LiFePO4 at 80 % DoD — you get 8 kWh. With lead-acid at 50 % DoD, you get only 5 kWh. Always size based on usable capacity, not nominal.

  2. "Lead-acid is cheaper than LiFePO4." Only upfront. Over 25 years, LiFePO4 costs $0.08–$0.13 per kWh delivered vs $0.38–$0.63 for lead-acid. LiFePO4 is 3–5× cheaper per lifetime kWh.

  3. "I should size my battery to match my solar panels." Battery size depends on your usage and backup needs, not your panel size. A 10 kW solar system might pair with a 10 kWh battery (grid backup) or a 50 kWh battery (full off-grid) depending on the application.

  4. "I can charge LiFePO4 below freezing." No. Charging below 0 °C causes permanent lithium plating damage. The BMS should block it, but verify your battery has a low-temperature cutoff before relying on it in cold climates.

  5. "Car batteries work for solar." Car batteries are starting batteries, not deep-cycle. One deep discharge can permanently damage them. Use deep-cycle LiFePO4, AGM, or flooded lead-acid designed for repeated cycling.

Bottom Line

LiFePO4 is the best battery chemistry for solar in 2026. It costs more upfront but delivers 3–5× more lifetime energy than lead-acid, with zero maintenance and no risk of thermal runaway. Size your bank with the formula: daily kWh × days of autonomy ÷ 0.8 (DoD). Use 48V for any home system. Budget $300–$500 per kWh for pre-built LiFePO4, or $150–$300 per kWh for a DIY build from raw cells.

Keep Reading

Frequently Asked Questions

What is depth of discharge (DoD)?
Depth of discharge is the percentage of a battery's total capacity that you can safely use before recharging. LiFePO4 batteries have 80–90% DoD, meaning you can use 80–90% of the rated capacity. Lead-acid batteries have only 50% DoD — using more than 50% damages the plates and shortens lifespan. This is why a 10 kWh LiFePO4 battery stores 8–9 kWh of usable energy, while a 10 kWh lead-acid battery stores only 5 kWh.
Can I use car batteries for solar?
No. Car batteries are starting batteries designed to deliver high current for a few seconds (cranking the engine), then immediately recharge from the alternator. They are not designed for deep cycling. Discharging a car battery below 80% even once can permanently damage it. Use deep-cycle batteries: LiFePO4 (best), AGM, or flooded lead-acid designed for repeated deep discharge.
LiFePO4 vs Tesla Powerwall — what is the difference?
The Tesla Powerwall uses NMC (nickel manganese cobalt) lithium chemistry, not LiFePO4. NMC has slightly higher energy density (smaller per kWh) but shorter cycle life (3,000–4,000 cycles vs 4,000–6,000 for LiFePO4) and a small but real risk of thermal runaway. The Powerwall is an all-in-one product (battery + inverter + software) at about $1,050/kWh installed. Standalone LiFePO4 server rack batteries cost $300–$500/kWh but require a separate inverter.
What size battery for a 5 kW solar system?
Battery size depends on your energy usage and desired backup time, not your solar system size. A 5 kW solar system might pair with a 10 kWh battery for basic overnight backup, a 20 kWh battery for 1–2 days off-grid capability, or no battery at all for grid-tied net metering. The formula is: battery kWh = daily usage x days of autonomy / DoD.
Do I need batteries for grid-tied solar?
No. Grid-tied systems use net metering instead of batteries — excess solar production is exported to the grid for credits, and you draw from the grid at night. Batteries add backup capability during outages but are not required for grid-tied solar to work. Adding batteries makes financial sense if you have time-of-use rates, frequent outages, or want energy independence.
How long does a LiFePO4 battery last?
LiFePO4 batteries last 4,000–6,000 charge cycles at 80% depth of discharge. At one full cycle per day, that is 11–16 years. Many LiFePO4 batteries are rated for 10,000+ cycles at 50% DoD, extending life even further. Calendar life is typically 10–15 years regardless of cycling. Compare to lead-acid AGM at 500–1,000 cycles (1.5–3 years at daily cycling).
What BMS do I need for LiFePO4?
Every LiFePO4 battery needs a Battery Management System (BMS) that monitors cell voltages, balances cells, and provides overcurrent, over-voltage, under-voltage, and temperature protection. Pre-built LiFePO4 batteries from brands like EG4, SOK, BattleBorn, and Redodo include a built-in BMS. DIY builders using raw cells need to purchase a separate BMS — popular choices include JBD, Daly, and JK BMS, sized to match the battery bank current.
Can I mix LiFePO4 with lead-acid batteries?
No. Never mix battery chemistries in the same bank. LiFePO4 and lead-acid have different charging voltages, different internal resistance, and different discharge curves. Mixing them causes one chemistry to overcharge while the other undercharges, leading to premature failure of both. If upgrading from lead-acid to LiFePO4, replace the entire bank at once.
What is a server rack battery?
A server rack battery is a 48V LiFePO4 battery built in the standard 19-inch rack format used in data centers. They are 3U or 4U high and stack vertically in a standard equipment rack. Popular models include the EG4 LifePower4 (5.12 kWh), SOK 48V 100Ah (5.12 kWh), and EG4 PowerPro (5.12 kWh). They include built-in BMS, communication ports, and are designed for home energy storage systems.
How many batteries do I need for off-grid solar?
It depends on your daily energy usage and desired days of autonomy. A small cabin using 5 kWh/day with 2 days autonomy needs 12.5 kWh / 0.8 DoD = 15.6 kWh — three 48V 100Ah batteries (5.12 kWh each). An average off-grid home using 15 kWh/day with 3 days autonomy needs 56.3 kWh — six to eleven 48V batteries depending on size. Use the calculator above for your exact needs.
Should I get 12V, 24V, or 48V batteries?
48V for any system over 3 kW. Higher voltage means lower current for the same power, which allows thinner cables, smaller fuses, and smaller charge controllers. A 5 kW system at 12V draws 417A (requires massive 2/0 AWG cables). The same system at 48V draws only 104A (manageable with 4 AWG cables). 12V is for small portable systems. 24V is for mid-size RV and cabin systems. 48V is the standard for home energy storage.
Marko Visic
Physicist and solar energy enthusiast. After installing solar panels on my own house, I built TheGreenWatt to share what I learned. All calculators use NREL PVWatts v8 data and peer-reviewed formulas.