How is total calculated in my Quote?

Total calculation in the Quote block - The Total amount is calculated based on the sum of all individual product prices, implementation cost and sales tax 

Total margin is the percentage of profit made from the specific transaction. Based on the difference between the Cost Price and Selling price as specified in the product menu.