The law is normally supposed to repay whatever damage you suffered while the law was running.
This requires a lot of work to estimate and reason and argue and adjudicate, you're not going to get a napkin math answer on an internet forum.
How it works is that the complainant makes an argument with an amount attached, the argument is reviewed and discussed by all parties, and the judge decides. The law system is amazingly free-form in some respects, which is why precedent is so important: there's not much else constraining things.