Salesforce Tools

Salesforce Governor Limits Calculator

Estimate SOQL, DML, CPU, and heap usage for bulk Apex operations.

200
15,000
1
05
1
05
SOQL Queries200 / 100 (100%)
DML Statements200 / 150 (100%)
DML Rows200 / 50000 (0%)

⚠ SOQL limit exceeded. Query outside the loop or use batch Apex.

How to Use the Salesforce Governor Limits Calculator

  1. Enter batch size and number of SOQL queries per record.
  2. Add DML operations and estimated CPU time per iteration.
  3. Review limit usage against synchronous and async thresholds.
  4. Adjust batch size to stay within governor limits.

Examples & Reference

Synchronous: 100 SOQL, 150 DML, 10000ms CPU, 6MB heap. Async limits are higher.

Frequently Asked Questions

Key limits: 100 SOQL queries, 150 DML statements, 50,000 DML rows, 10s CPU, 6MB heap (sync) per transaction.

Need expert Salesforce help?

Ranburg LLP consultants build production OmniStudio, Revenue Cloud, and LWC solutions.

Salesforce Development Services