Skip to main content
Data

What is Custom Field in Salesforce?

Updated · By the Clientell AI team · How we write

A custom field is one of the Salesforce custom fields you add to an object to store data that the standard fields do not cover. You choose the data type, such as text, number, date, picklist, formula or lookup. The API name ends in __c. How many you can create per object depends on your Salesforce edition.

Key facts

What it is
A field you create on a standard or custom object to store your own data
API name suffix
__c (for example Contract_Value__c)
Permission to create
Customize Application
Limit, Enterprise
500 custom fields per object, plus 400 more from certified managed packages (Salesforce Help)
Limit, Unlimited
800 custom fields per object, plus 100 more from certified managed packages (Salesforce Help)
Hard cap
900 custom fields on the listed objects (Account, Contact, Opportunity, Lead, Case and more) (Salesforce Help)

Clientell AI, the AI Salesforce admin, documents how Custom Field is used in your org in a read-only scan, and flags anything risky or unused. See org documentation

Try it in Clientell AI

“Document how Custom Field is used in my org and list anything that looks risky or unused.”

Clientell AI reads your org first. Platform deployments include rollback. How security works.

Start the 14-day free trial, no card

What is a custom field in Salesforce?

A custom field is a field that you or an app adds to an object. Standard fields come with Salesforce, such as Account Name. Custom fields hold what is special to your business, such as a contract tier or a renewal date.

You can use custom fields to capture extra information, make a field required, set default values, track changes, and control who sees the field with field-level security (Salesforce Help). You can also make formula fields that calculate values from other fields. See field-level security and custom objects.

What are the Salesforce custom field types?

You pick the type when you create the field. Some choices are hard to change later, so choose with care (Salesforce Help).

TypeUse it for
Text, Text Area, Long Text AreaNames, notes and free text
Number, Currency, PercentAmounts and rates. You set the decimal places.
Date, Date/TimeDates, picked from a calendar
CheckboxTrue or false
Picklist, Multi-Select PicklistA fixed list of choices
FormulaA value that Salesforce calculates from other fields
Lookup, Master-DetailA link to another record
Roll-Up SummaryA count or total of child records, on the master side of a master-detail relationship
GeolocationA latitude and longitude. It counts as three custom fields toward your limit (Salesforce Help).

How do you create a custom field?

You need the Customize Application permission. Test in a sandbox first when automation, reports or integrations use the field. Example: add Account.Contract_Tier__c as a picklist.

  • Setup > Object Manager > Account > Fields & Relationships > New.
  • Choose Picklist as the data type and click Next.
  • Enter the label Contract Tier and the values Bronze, Silver and Gold. The API name fills in as Contract_Tier__c.
  • Set field-level security, which controls which profiles and permission sets can see or edit the field.
  • Choose the page layouts the field appears on, then save.
  • Result: Contract Tier shows on the Account page and is available in reports, list views and SOQL as Account.Contract_Tier__c.

How many custom fields can an object have?

Each edition has a maximum number of custom fields per object. Salesforce lets you install more from AppExchange certified managed packages. The table shows what you can create yourself (Salesforce Help).

EditionCustom fields per object
Personal5 (Salesforce Help)
Contact Manager25 (Salesforce Help)
Group, Essentials, Professional100 (Salesforce Help)
Enterprise and Developer500 (Salesforce Help)
Unlimited and Performance800 (Salesforce Help)

What counts toward the limit?

Some objects have a hard limit of 900 custom fields, including Account, Asset, Campaign, Case, Contact, Contract, Lead, Opportunity, Order, Product2, custom objects and Users. All other objects have a hard limit of 800 (Salesforce Help).

Some fields count for more than one. Each geolocation field counts as three. An object can have no more than 40 custom relationships and 25 roll-up summary fields (Salesforce Help). Support can raise some limits, for example roll-ups up to 40 (Salesforce Help). Near the cap, delete and erase fields you no longer need.

What are common custom field mistakes?

Most field problems start with a rushed type or name. Each has a fix.

  • Picking the wrong type. Fix: plan the type first, since some changes are blocked when other things depend on the field.
  • Creating fields nobody uses. Fix: review field usage and remove unused ones before you reach the limit (Salesforce Help).
  • Skipping a description. Fix: write one for every field so the next admin knows why it exists.
  • Leaving field-level security wide open. Fix: grant access through permission sets.
  • Building a count by hand. Fix: use a roll-up summary field when the relationship is master-detail (Salesforce Help).

FAQ: Custom Field in Salesforce

What is a custom field in Salesforce?

A field you add to a standard or custom object to store your own data, with a data type you choose. Its API name ends in __c.

What are the Salesforce custom field types?

Text, number, currency, percent, date, date/time, checkbox, picklist, multi-select picklist, formula, lookup, master-detail, roll-up summary, geolocation, and more.

How many custom fields can I have per object?

Enterprise and Developer allow 500. Unlimited and Performance allow 800. Professional, Group and Essentials allow 100 (Salesforce Help).

Who can create custom fields?

A user with the Customize Application permission, usually a system administrator.

What does __c mean in Salesforce?

It marks a custom field or custom object API name. The label can change, but the API name ends in __c.

How does a geolocation field count toward the limit?

Each geolocation field counts as three custom fields: one for latitude, one for longitude and one for internal use (Salesforce Help).

Getting Started

Try this on your own org

Start the 14-day free trial, no card. Clientell AI asks before it changes anything in production.

14-day free trial  ·  No credit card required

SOC 2
HIPAA
ISO 27001
Salesforce Partner