You may use pre-population rules in combination with a template to automatically populate number fields using the following calculations:
•Addition
•Subtraction
•Multiplication
•Division
•Percentage of a number
•Ratio between two numbers
•Total values from multiple child records, such as the sum of the Amount field from all line items of an invoice
•Number of items in a list, such as the total number of assignees for a matter record