Formuala of Price and Cost Calculation

Hello Team, Can someone please explain how prices and cost is calculated in morpheus data or is there any document I can refer to understand the formula through which morpheusdata calculated its price and cost (actual and estimated)
Thankyou