Summary Field
A Summary Field, also known as a Roll-Up Summary Field, is a read-only field on a master object in a master-detail relationship that automatically calculates aggregate values from related child records.
Definition
A Summary Field, also known as a Roll-Up Summary Field, is a read-only field on a master object in a master-detail relationship that automatically calculates aggregate values from related child records. It supports functions including COUNT, SUM, MIN, and MAX, and can include filter criteria to limit which child records are included in the calculation.
In plain English
“A Summary Field (or Roll-Up Summary Field) is a read-only field on a master object that automatically calculates aggregate values from related child records in a master-detail relationship. It can do COUNT, SUM, MIN, or MAX across the child records.”
Worked example
An admin at Pinegrove Software adds a Summary Field on the Account object called "Total_Open_Pipeline__c" - a Roll-Up Summary calculating SUM(Amount) on related Opportunity records where IsClosed = false. The Summary Field auto-recalculates whenever a child Opportunity is added, modified, or closed; users see the current total on every Account record without opening a report. Other Summary Fields on the same object: COUNT of Opportunities, MAX of CreatedDate. Summary Fields are the built-in mechanism for parent-record aggregations in master-detail relationships.
Why Summary Field matters
A Summary Field, also known as a Roll-Up Summary Field, is a read-only field on a master object in a master-detail relationship that automatically calculates aggregate values from related child records, supporting COUNT, SUM, MIN, and MAX operations. When child records are created, updated, or deleted, the summary field recalculates automatically.
Roll-up summary fields are one of the most practical benefits of master-detail relationships. They enable real-time aggregation without custom code: total line item amounts on an order, count of contacts on an account, or earliest activity date. The requirement for a master-detail relationship (not lookup) is important to understand because it affects data model decisions.
How organizations use Summary Field
Uses roll-up summary fields for total opportunity amounts on accounts.
Built roll-up summaries for counting child records across their data model.
Treats roll-up summary as a key benefit when choosing master-detail over lookup.
Trust & references
Straight from the source - Salesforce's reference material on Summary Field.
- Summary Formulas for ReportsSalesforce Help
🧠 Test your knowledge
Q1. What is a Summary Field?
Q2. What operations are supported?
Q3. What relationship type is required?

Discussion
Loading discussion…