The Total Price on an Opportunity Product is a read-only, system-generated formula field. It cannot be manually edited. Salesforce calculates it using the following formula.
This article explains the exact formula Salesforce uses to calculate the Total Price field on Opportunity Products.
The actual formula to calculate Total Price for Opportunity Products is as follows:
(UnitPrice-(UnitPrice*Discount))*Quantity
Here, Unit Price is the Sales Price.
Since Total Price is a read-only, system-generated field, consider creating a custom formula field if you need a different calculation.
For example, if you want a Total Price calculation that ignores Discount entirely, you could create a custom formula field using UnitPrice*Quantity instead of relying on the standard Total Price field.
000384983

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.