One of the easiest and accessible ways for this is Excel. It can be easily calculated with simple addition, subtraction, multiplication and division operations using several defined formulas in Excel.
In addition, if you do not want to use a program, it can be done directly with a calculator.