We calculate the solar panels and batteries necessary for an offgrid system of a home.We use a new way to calculate panels.We show curves of some batteries on the market to see their useful life vs depth of discharge.