How to calculate
Add net income or subtract net loss. Then deduct dividends to get ending retained earnings.
Worked example
Use Opening retained earnings (USD) 20000 · Period net income or loss (USD) 6000 · Dividends paid (USD) 2000. The result is 24000.00 USD.
Input and result notes
A deficit can be entered as a negative opening balance.
OpenStax on financial statements