%3C/text%3E%3C/svg%3E">
💻
💻 Tech & IT

COCOMO Effort Estimator (basic)

Results update as you type.

Your numbers

Understanding the basic COCOMO effort estimator — concept and principle

Basic COCOMO (Constructive Cost Model) turns an estimate of program size in thousands of delivered lines of code (KLOC) into development effort in person-months, a nominal schedule in months and the average team size that schedule implies. Barry Boehm published it in 1981 from data on dozens of completed projects. Today it is mainly used for teaching and early ballpark estimates.

Basic COCOMO for 50 KLOC, organic50 KLOC of organic code gives 145.9 person-months of effort, a 16.6-month schedule and an average team of 8.8 people; the effort is the area of months times people.Effort = months × people50 KLOCorganicE = 2.4 × 50^1.05= 145.9 person-monthsD = 2.5 × E^0.38= 16.6 months16.6 months8.8peopleb = 1.05 > 1: double the code → 2.07× the work
145.9 person-months spread over 16.6 months means about 8.8 people on average.

How it is calculated

The coefficients depend on the project type:

The principle

The exponent b is greater than 1, so effort grows faster than size: doubling the code more than doubles the work, because larger systems need more coordination, integration and testing. This is called a diseconomy of scale, and it is strongest for embedded projects. The schedule exponent c is well below 1, meaning that calendar time grows much more slowly than effort; big projects are finished by adding people, but not in proportion, since communication overhead limits how far work can be split.

Worked example

  1. Inputs: 50 KLOC, organic (a = 2.4, b = 1.05, c = 0.38).
  2. 50^1.05 = 60.802, so E = 2.4 × 60.802 = 145.93 person-months.
  3. E^0.38 = 145.925^0.38 = 6.643, so D = 2.5 × 6.643 = 16.61 months.
  4. Team size = 145.925 ÷ 16.608 = 8.79 people on average.

The same 50 KLOC as an embedded project gives about 393.6 person-months, 16.9 months and 23.3 people.

How Effort (person-months) changes with Size (KLOC)How Effort changes with Size010020030040012.52537.55062.575100Example: 145.9250149Size (KLOC)
Each point is the calculator re-run with only “Size (KLOC)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Size (KLOC)Effort (person-months)
12.534.03821329
2570.47713659
37.5107.8807788
50145.9250149
62.5184.4528033
75223.3703724
100302.1420988

How to read the result

Treat the numbers as an order-of-magnitude guide. Boehm reported that basic COCOMO estimates were often well off the actual figures, which is why intermediate COCOMO added cost drivers and COCOMO II (2000) replaced it. A schedule much shorter than D usually requires disproportionately more effort.

Common mistakes

Keep in mind: Basic COCOMO is a historical rough model calibrated on 1970s projects. Do not use it alone for contracts, budgets or staffing decisions; combine it with your own historical data and expert estimates.

Frequently asked questions

How do I estimate KLOC before writing code?

Compare with similar past systems, or count function points and convert them with a language-specific ratio from your own data.

What is the difference between basic COCOMO and COCOMO II?

COCOMO II uses scale factors and effort multipliers for team, process and product traits, and was recalibrated on newer projects.

Why does the team size come out as a fraction?

It is an average over the whole schedule (effort ÷ months), not a hiring plan.

Sources: Barry W. Boehm, Software Engineering Economics, Prentice Hall, 1981 · Barry W. Boehm et al., Software Cost Estimation with COCOMO II, Prentice Hall, 2000

Checked 8 Nov 2026. Standard formulas and RFC/IEEE definitions, computed locally in your browser — nothing you type is sent anywhere.

💻 All tech & IT tools →🌍 Calculators by country →