Solana smart contract audit cost calculator
This Solana audit cost calculator estimates the price and calendar time of an independent security audit from lines of code, number of programs, complexity, framework (Anchor or native Rust) and integrations. It uses $1,600-$2,800 per engineer-day and about 300 lines of Anchor code per engineer-day. Free, no signup, and nothing you enter leaves your browser.
- Engineer-days
- 7.5
- Calendar time
- 1 to 2 weeks
A planning range, not a quote. Real quotes depend on the auditor, your code quality, tests and documentation. See the methodology below.
Get quotes from verified auditors →Share this estimate on X ↗Solana audit cost examples
Anchor unless noted, fix review included, no rush.
| Project | Engineer-days | Calendar time | Indicative cost |
|---|---|---|---|
| Token vesting program, 500 lines | 3.5 | 1 to 2 weeks | $5,500 to $10,000 |
| Staking program, 1,500 lines | 7.5 | 1 to 2 weeks | $12,000 to $21,000 |
| Lending protocol, 3,000 lines, 2 programs, oracle | 23 | 3 to 5 weeks | $37,000 to $64,500 |
| Perps DEX in native Rust, 6,000 lines, 3 programs | 56.5 | 6 to 12 weeks | $90,500 to $158,000 |
How the estimate works
Auditors price by engineer-time, so the calculator first estimates engineer-days and then applies a day rate. Every number below is an assumption you can check against real quotes.
- Review speed: about 300 lines of straightforward Anchor code per engineer-day, with a minimum of 3 engineer-days for any audit.
- Complexity: Simple ×1, Standard ×1.3, DeFi ×1.7, Novel or cross-chain ×2.1.
- Framework: Anchor ×1, Native Rust ×1.15, because native programs hand-write validation that Anchor generates.
- Integrations: None ×1, 1-2 ×1.1, 3 or more ×1.2.
- Extra programs: +1 engineer-day for each program beyond the first, for the interactions between them.
- Fix review: ×1.15. Rush start within two weeks: ×1.25 on price.
- Day rate: $1,600 to $2,800 per engineer-day, a range that covers most independent Solana security firms. The best-known firms can charge more, and competitive audit platforms price differently.
- Calendar time: two engineers working in parallel at the fast end, one engineer at the slow end.
The estimate does not cover economic or design reviews, formal verification, re-audits of later upgrades or a bug bounty. For what drives real quotes, read how much a Solana audit costs and how to choose a Solana auditor.
Frequently asked questions
How much does a Solana smart contract audit cost?
Small single-purpose programs start at around $5,000, and large DeFi protocols can cost tens of thousands. With our method, a 1,500-line Anchor staking program comes out at about $12,000 to $21,000. The size and complexity of the code in scope drive most of the price.
How long does a Solana audit take?
Most audits of a single program take one to three weeks of review, plus a few days for the fix review. Larger protocols take a month or more. Good auditors are often booked several weeks ahead, so contact them early.
Why do audit quotes for the same code differ so much?
Auditors price by engineer-time. One firm may plan two engineers for two weeks with a fix review included, another one engineer for one week with the fix review billed separately. Compare scope, engineer-days and deliverables, not just the total.
How can I lower the cost of an audit?
Freeze the code at a tagged commit, write a short specification of each instruction and its invariants, ship a good test suite, remove dead code from scope, and book early instead of paying for a rush slot.
How many lines of code can an auditor review per day?
Our method assumes about 300 lines of straightforward Anchor code per engineer-day, then adjusts for complexity, framework and integrations. Complex DeFi logic is reviewed much more slowly per line, which is why effort is multiplied by up to 2.1 for novel or cross-chain designs.
How accurate is this Solana audit cost calculator?
It gives an indicative range, not a quote. Real quotes depend on the firm, its calendar, your code quality, tests and documentation. Use the range to sanity-check quotes and to plan budget and dates before you contact auditors.
Before you book an audit
Go through the pre-launch security checklist so the auditors spend their time on real issues, then compare verified Solana auditors.