To size a battery bank, multiply your daily watt-hours by the days of autonomy you want, then divide by the bank voltage and usable depth of discharge: Ah = (Daily Wh × Days) ÷ (V × DoD). For a cabin using 2,000 Wh per day, wanting 2 days of backup on a 48V lithium bank at 80% depth of discharge: Ah = (2,000 × 2) ÷ (48 × 0.80) = 104 Ah. That rounds up to two 100Ah 48V batteries, or a single 105Ah unit.
Two decisions dominate the result: how many days you must ride through with no charging (autonomy), and how deeply you can safely discharge (chemistry). Lithium's 80–100% usable depth roughly halves the amp-hours you must buy compared with lead-acid at 50%. The calculator above builds both in and also estimates how many 100Ah batteries the bank requires.