How does this math work? - tchncs

There might be some simple explanation but i cannot figure it out.

add a “spend 0 / balance 50” column