Meaning of “work out” - Learner’s Dictionary

work out

phrasal verb with work us uk /wɜːk/ verb

B2 If a problem or difficult situation works out, it gradually becomes better:

Don't worry - everything will work out in the end.

B1 to do exercises to make your body stronger

work out badly/well, etc

to happen or develop in a particular way:

Changing schools worked out really well for me.
work out at sth

to be the result when you calculate something:

If we share the costs, it works out at $10 per person.

(Definition of “work out” from the Cambridge Learner’s Dictionary © Cambridge University Press)