If you trust this link, click it to continue.
https://www.linuxtoday.com/blog/how-to-calculate-mathematical-expressions-in-shell-scripts/