{"uid":"cap_YCkbYJBpowkvyIvsiFpk7","slug":"electrical-calculators-battery-bank-sizing-6af214c1","name":"Electrical Calculators – Battery Bank Sizing","description":"Battery bank layout (series and parallel counts) and runtime from load, voltage, Ah, depth of discharge and efficiency.","url":"https://electrical-calc.x402tookit.com/battery-bank?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["loadW","systemVoltageV","batteryVoltageV","batteryAh"],"properties":{"loadW":{"type":"number","description":"Constant load in watts"},"batteryAh":{"type":"number","description":"Capacity of one battery in amp-hours at its rating"},"runtimeHours":{"type":"number","description":"Target runtime in hours, to size the parallel strings"},"efficiencyPct":{"type":"number","description":"Inverter and wiring efficiency in percent (default 90; use 100 for a DC load)"},"systemVoltageV":{"type":"number","description":"Bank (DC system) voltage in volts, a whole multiple of batteryVoltageV"},"batteryVoltageV":{"type":"number","description":"Nominal voltage of one battery in volts"},"parallelStrings":{"type":"integer","description":"Parallel strings you have, to get the runtime (default 1; ignored if runtimeHours is sent)"},"depthOfDischargePct":{"type":"number","description":"Usable fraction of capacity in percent (default 50; 80 typical for lithium)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"bankAh":{"type":["null","number"]},"bankWh":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"usableWh":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"bankVoltageV":{"type":["null","number"]},"runtimeHours":{"type":["null","number"]},"efficiencyPct":{"type":["null","number"]},"dischargeRateC":{"type":["null","number"]},"runtimeMinutes":{"type":["null","number"]},"totalBatteries":{"type":["null","number"]},"parallelStrings":{"type":["null","number"]},"batteriesInSeries":{"type":["null","number"]},"usableWhPerString":{"type":["null","number"]},"batteryDrawCurrentA":{"type":["null","number"]},"depthOfDischargePct":{"type":["null","number"]},"loadWattHoursNeeded":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1A3mFViS04ABdW59wKR-o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates battery bank series/parallel configuration and runtime from load, system voltage, battery specs, depth of discharge, and efficiency.","exampleAgentPrompt":"Size a 48V battery bank for a constant 800W load using 12V 100Ah batteries, with 80% depth of discharge and 90% inverter efficiency — I need at least 6 hours of runtime.","exampleUseCases":[{"title":"Off-grid cabin power sizing","prompt":"I'm building an off-grid cabin with a 600W load running on a 24V system using 12V 200Ah batteries. Assuming 50% depth of discharge and 90% efficiency, how many batteries do I need in series and parallel to get 8 hours of runtime?"},{"title":"RV battery bank runtime check","prompt":"I already have 2 parallel strings of 12V 100Ah lithium batteries in my RV. With a 300W constant load, 80% depth of discharge, and 100% efficiency for a DC system, how long will they last?"},{"title":"Solar backup system design","prompt":"Help me size a 48V battery bank for a 1200W backup load using 12V 150Ah AGM batteries. I want 10 hours of runtime, with 50% depth of discharge and 85% inverter efficiency — tell me how many strings I need in series and parallel."}],"resultDescription":"Returns the battery bank configuration including number of series cells per string, number of parallel strings, total bank voltage, total and usable amp-hours and watt-hours, calculated runtime in hours, effective efficiency, and a human-readable summary with any advisory reasons or disclaimers.","failureModes":["Missing required parameters (loadW, systemVoltageV, batteryVoltageV, batteryAh) returns a 400-level error","systemVoltageV not a whole multiple of batteryVoltageV results in an invalid configuration or error","Conflicting runtimeHours and parallelStrings — runtimeHours takes precedence, parallelStrings is ignored","Zero or negative values for electrical parameters produce undefined/error results","Very low efficiency or DoD percentages may yield impractically large battery counts"],"whenToPreferThis":"Use this endpoint when you need to compute battery bank topology (series and parallel counts) and expected runtime for a DC or inverter-fed load. It is purpose-built for off-grid, RV, solar, and backup power design scenarios where you know your load watts, system voltage, individual battery specs, and desired depth of discharge — and want a validated configuration with usable energy and runtime figures without doing the math manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:58.076Z","isFirstParty":false,"canonicalSlug":"electrical-calculators-battery-bank-sizing-6af214c1"}