Size the array from daily kWh ÷ (sun hours × efficiency), and the battery from daily kWh × autonomy days ÷ depth of discharge. A cabin using 5 kWh per day at 4.5 peak sun hours and 75% efficiency needs a 1.48 kW array — about four 400W panels. For 3 days of autonomy on a 48V bank at 80% depth of discharge, it needs 5 × 3 ÷ 0.80 = 18.75 kWh of battery, roughly 391 Ah at 48V. The calculator above sizes the array, battery bank in kWh and Ah, and panel count together.
An off-grid system has two halves that must be balanced: generation (solar panels) to replace each day's energy, and storage (batteries) to carry you through nights and cloudy stretches. Undersize the panels and the battery never fully recharges; undersize the battery and you run out overnight. This tool sizes both from the same daily-consumption figure so they stay matched.