Calculator Inputs
Visualization
The graph compares effort, schedule, staffing, and total cost for the current estimate.
Example Data Table
| Scenario | Model | Mode | KLOC | Cost per PM | Contingency | Typical Use |
|---|---|---|---|---|---|---|
| Startup MVP | Basic | Organic | 12 | $6,500 | 8% | Small business web platform |
| Business Suite | Intermediate | Semi-Detached | 32 | $7,000 | 10% | Mixed team enterprise application |
| Embedded Control | Detailed | Embedded | 60 | $9,500 | 15% | Critical hardware-integrated system |
Formula Used
Schedule (Months) = c × (Effort)^d
Average Staff = Effort ÷ Schedule
Base Cost = Effort × Cost per Person-Month
Total Cost = Base Cost + (Base Cost × Contingency %)
Basic COCOMO uses mode-based coefficients without cost drivers. Intermediate and detailed models multiply effort by the Effort Adjustment Factor.
Detailed COCOMO then distributes estimated effort, schedule, and cost across lifecycle phases using project-mode percentages.
How to Use This Calculator
- Choose the COCOMO model that matches your planning depth.
- Select the project mode based on technical constraints and team familiarity.
- Enter estimated project size in thousands of delivered lines of code.
- Provide cost per person-month and a contingency reserve percentage.
- Review cost driver ratings for reliability, complexity, team skill, tools, and schedule pressure.
- Submit the form to see effort, timeline, staffing, productivity, and total budget above the form.
- Use the chart and optional detailed phase table to compare planning assumptions.
- Export the final estimate as CSV or PDF for sharing.
Frequently Asked Questions
1. What does COCOMO estimate?
COCOMO estimates software effort, development time, team size, and project cost from expected code size and environmental factors.
2. When should I use the basic model?
Use the basic model during early planning when you only know approximate project size and need a quick directional estimate.
3. What is the Effort Adjustment Factor?
The Effort Adjustment Factor multiplies baseline effort using cost drivers such as reliability, complexity, analyst capability, tools, and schedule pressure.
4. How do I choose project mode?
Choose organic for familiar, flexible projects, semi-detached for mixed complexity, and embedded for tightly constrained systems with rigorous interfaces.
5. Is KLOC the same as source files?
No. KLOC means thousands of delivered source lines of code, not file counts, folders, screens, or user stories.
6. Why add contingency to the cost?
Contingency helps cover uncertainty, rework, scope refinement, delays, and underestimated effort that commonly appear during delivery.
7. What changes in the detailed model?
The detailed model keeps the intermediate effort logic but allocates results across lifecycle phases for better planning visibility.
8. Should I rely on one estimate only?
No. Create several scenarios with different sizes, rates, and driver ratings to understand a realistic planning range.