This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Salesforce

How to Create Formula Field in Salesforce

Updated on:
June 8, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to build a custom formula field directly inside Salesforce.

Quick summary

A Salesforce formula field lets you automatically calculate and display values based on other fields in your CRM objects. This step-by-step walkthrough shows you how to create a formula field using the Object Manager and Advanced Formula editor in Salesforce Setup.


Steps

  1. Click the gear icon at the top right corner of your Salesforce dashboard.
  2. Select Open Advanced Setup from the dropdown menu.
  3. Click Object Manager at the top of the Setup page.
  4. Select the object you want to add a formula field to (e.g., Account, Opportunity, Contact).
  5. Click Fields & Relationships in the left-hand sidebar.
  6. Click New at the top of the Fields & Relationships list.
  7. Choose Formula as the Data Type.
  8. Click Next to proceed to the next step.
  9. Fill in the required field details, including the field label and description.
  10. Choose the Formula Return Type (e.g., Currency, Number, Text).
  11. Click Next to open the formula editor.
  12. Select Advanced Formula to access the full formula editor.
  13. Click Insert Field to browse and select a field to add to your formula.
  14. Choose a field (e.g., Amount), then click Insert to add it to the formula.
  15. Click Insert Operator and choose an operator (e.g., +, -, *, /) for your formula.
  16. Click Insert Field again to select another field to complete your formula, then click Insert when finished.
  17. Click Check Syntax to validate your formula and ensure it is error-free.
  18. When the formula is valid, click Next to proceed.
  19. Modify field-level security settings as needed, then click Next.
  20. Finally, click Save to create and activate the formula field.

📌 Why this matters

Salesforce formula fields allow admins and developers to automatically compute values — such as discounts, profit margins, or custom statuses — directly within CRM records without writing code. Creating a formula field in Salesforce eliminates manual data entry, reduces errors, and ensures calculated data is always up to date across Account, Opportunity, and Contact objects. This capability is essential for sales operations teams who need real-time derived insights surfaced directly in their CRM views and reports. Mastering Salesforce formula fields is a foundational skill for any Salesforce administrator optimizing workflows and data accuracy.
Your product deserves an interactive demo
Start free
Similar Articles
Enable Inline Editing in Salesforce ReportsEnable Inline Editing in Salesforce Reports
Salesforce

How to Enable Inline Editing in Salesforce Reports

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Enable Knowledge in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Enable MFA in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it