Book a call
Home  /  Tools
Calculator 03

SuiteScript governance calculator

Add up the usage units your script spends, check it against the limit for its type, and see which operation to swap out first.

Limits per the SuiteScript governance documentation
Script type
Record category
{{c.label}}
What your script calls, per execution
{{o.name}} {{o.unit}} units each
−
{{o.n}}
+
{{o.sub}}
Clear all
Counts are per single execution of the script.
{{verdict}}
{{total}}
of {{limit}} units
{{typeName}}
{{pct}}% consumed{{headroom}}
Biggest spender
{{topName}}
{{topShare}}
What to change first
→ {{t.text}}

About these numbers

Script limits
From the SuiteScript governance documentation. Map/Reduce has no whole-script limit, each stage is governed separately, which is why the stages are listed individually.
Record categories
The governance model prices custom records lowest, standard records higher, and transaction records highest, because of what NetSuite has to process for each.
Search versus query
A paged search costs units per page; query.run costs a flat amount for the result set. That is the whole reason SuiteQL wins on volume.
The authority
Your own account. runtime.getCurrentScript().getRemainingUsage() is the only number that is definitively right for your version and record types, instrument the script and read the log.

Unit costs are stable but not frozen; Oracle can revise them between releases. Treat this as a planning aid and verify anything load-bearing against the current documentation for your account.

The same thing, on your dashboard

Deployed, this stops being a page you visit. It becomes a portlet on the dashboard the people who need it already open every morning, reading your real records instead of numbers you type, next to the KPIs and lists they are already looking at. The amber portlet below is the only part of this screen that is ours.

HomeActivitiesTransactionsListsReportsAnalyticsSetupCustomizationDeveloper · SandboxGovernanceScriptsDeploymentsSuiteScript governanceCustomization › Scripting › Usage analysisAdd portletPersonalizeUNITS PER EXECUTION6,000Of 10,000 availableHEADROOM4,000Before the limitSPENT ON RECORD.SAVE67%Biggest single costLIMIT BREACHES0Last 30 daysTHOUSANDS OF UNITS PER EXECUTION, BY DEPLOYMENTRefresh129630SOPOINVITEMCUSTWOJEM/RLIMITOPERATIONS IN THIS SCRIPTView allOPERATIONCALLSUNITSrecord.save2004,000SWAPrecord.load2002,000REVIEWquery.run440FINEsearch.create220FINEGOVERNANCE CHECKAtsoviaUSAGE AGAINST LIMIT6,000Script typeMap/ReduceLimit10,000 unitsVerdictWithin budgetLimits per the governance documentation.REMINDERSDeployments near the limit2Scripts on Debug in production5Governance errors this week0

Illustrative layout, and deliberately not a copy of any vendor's interface, no borrowed logo, wordmark or colour identity. The real thing inherits whatever theme, tabs and role permissions your account already uses, so on your screen it will wear your colours rather than ours.

Run it on your own account
Want this run against your actual NetSuite account?
We will run the same analysis on your account, read-only, and send you the result with the three things worth doing first. No obligation, and nothing is changed in your account.
One email. We do not add you to a mailing list.

Other tools

Calculator 01
NetSuite file storage cost calculator
Work out what your NetSuite file cabinet is costing you each month, and what moving archival documents to Shar…
Open it →
Calculator 02
NetSuite implementation scope estimator
Answer six questions about your business and get an indicative phase plan and timeline range, with the arithme…
Open it →
Calculator 04
Work-order true cost simulator
Model a build before you run it: material, labour and scrap by operation, and what a unit actually costs again…
Open it →
Calculator 05
Go-live readiness scorecard
Twenty-four checks across data, configuration, integration, customization, people and cutover, with the gaps …
Open it →
Explorer
What actually fires, and when
Pick how a record was touched, the UI, a CSV import, a web service, another script, and watch which scripts …
Open it →
Calculator 07
SuiteQL query builder
Build the query you would otherwise write by hand, and see what it costs in usage units against the saved sear…
Open it →
Monitor
Account health monitor
Reads your account every night with a role that cannot write, snapshots it, and tells you what changed, inclu…
Open it →
Next step

Book a free consultation

Tell us what you are running today and where it is breaking down. Most calls run 20 to 30 minutes and end with a clear next step. We reply within one business day.

Talk to a consultant