In SharePoint there is something called Calculated columns in lists, that can do calculations based on other columns. These can be very useful. For more information about the SharePoint formulas check: