Use the heated volume and the temperature difference
Enter the litres actually heated, not automatically the nominal tank capacity. Temperature rise is final minus initial temperature: 10°C to 50°C means 40°C, not 50°C. These temperatures illustrate subtraction, not recommended settings. Use documented or safely available readings; do not open a hot or pressurised tank to measure. Different volumes or temperature rises need separate calculations before adding their heat.