Sub topic 4
Choosing units and granularity
This chapter covers two decisions you make before you give any number: the unit you estimate in, and how big a piece of work each estimate covers. It assumes you know the difference between effort and duration from earlier in the tutorial, and that you can break a project into tasks. It also assumes basic arithmetic and averages.
Why units and granularity matter
An estimate is a number plus a unit. Both choices change how accurate the estimate is and how people read it. "Five" means nothing alone. "Five person-days" and "five working days" are different claims. Granularity is the size of the piece you estimate. A single estimate for "build the checkout flow" hides a lot of work. A dozen estimates for its parts expose that work, and they also take more time to produce.
The goal is to match the unit and granularity to the information you have and the decision the estimate supports. You do not need the most precise option.
Common units
| Unit | What it measures | Typical use | Main risk |
|---|---|---|---|
| Person-hours | Effort | Small, well-understood tasks | False precision |
| Person-days | Effort | Most task-level planning | Gets read as calendar days |
| Working days | Duration | Schedules and deadlines | Ignores weekends, holidays and availability |
| Calendar days or weeks | Elapsed time | Milestones and commitments to stakeholders | Hides how much work is inside |
| Story points | Relative size | Teams with stable velocity | Not convertible to time without history |
| T-shirt sizes (S, M, L) | Rough relative size | Early roadmaps | Sizes mean different things to different people |
Two rules help with most of this:
- Use effort units (person-days) when you estimate the work itself. Use duration units when you build the schedule. Convert between them explicitly, as covered in the chapter on converting effort to a schedule.
- Write the unit every time. "Estimate: 8" is a bug. "Estimate: 8 person-days" is usable.
Matching precision to knowledge
The precision of an estimate should not exceed what you know. Saying "37.5 hours" for a task you have never done suggests a certainty you do not have. A reader will assume it was calculated carefully. They may then plan around it.
A practical approach is to let the unit get coarser as the uncertainty grows:
- A task you have done many times: hours or half-days.
- A task you understand but have not done: days.
- A feature with open questions: weeks.
- A project at the idea stage: months, or a size such as S, M or L.
This follows the cone of uncertainty. Early in a project the range of likely outcomes is wide, so a coarse unit is honest. As you learn more, the range narrows and a finer unit becomes justified.
Choosing granularity
Granularity is about how far you split the work breakdown before estimating. Splitting too little hides risk. Splitting too far wastes effort and adds false precision.
Why very large tasks are hard to estimate
Large tasks usually contain unknowns. Errors in estimating them are large in absolute terms, and nobody notices partial progress. A task labelled "integrate payments, 30 days" tends to stay "almost done" for weeks.
Why very small tasks are also a problem
Tasks of an hour or two have three costs:
- Estimating and tracking them takes a large share of the time the work itself takes.
- Small errors repeat across many tasks. If you consistently round each task up by half an hour, a hundred tasks add up to fifty hours.
- Planning at this level implies control you may not have, because interruptions and context switching matter more than the task estimate.
A workable range
Many teams aim for tasks that take roughly half a day to about two weeks of effort for one person. The exact limits depend on the project. These rules of thumb work well:
- If a task is longer than about two weeks, split it. Long tasks hide uncertainty and give no early warning of delay.
- If a task is shorter than about half a day, group it with related tasks, unless it is a risky step you want to track alone.
- Split by deliverable or outcome (for example "password reset email works") rather than by activity ("coding", "testing"), so each piece can be finished and checked.
Granularity can vary within one project. Near-term work is split finely because you know the details. Distant work stays coarse until you learn more. This is often called rolling-wave planning.
Rounding and scales
Estimates at the task level often use a limited scale instead of any number. A common choice is: half a day, 1 day, 2 days, 3 days, 5 days, 8 days, 10 days. A scale like this has two benefits. It stops people arguing about the difference between 6.5 and 7 days, which is usually noise. It also makes large tasks look large, since big gaps appear between the top values.
If an estimate sits between two values, ask which of the two you would be more surprised to exceed, and pick that one. Do not round everything up. Systematic rounding up is padding in disguise, and a later chapter explains why padding individual tasks fails.
Worked example: re-estimating at a better granularity
A team has to estimate the task "Add CSV export to the reports page". The first estimate is 10 person-days. The team feels unsure, so they break it down.
| Subtask | Estimate (person-days) |
|---|---|
| Define columns and file format with the product owner | 0.5 |
| Write export query for large reports | 2 |
| Stream results to avoid memory problems | 2 |
| Add the export button and download handling | 1 |
| Tests, including a very large report | 2 |
| Documentation and release notes | 0.5 |
| **Total** | **8** |
Two things come out of this. The total is 8, not 10, so the original number was a guess with a built-in cushion. More importantly, the breakdown shows that "stream results" is the risky part. The team can now give that subtask a range instead of a single value, which the next chapters on bottom-up and three-point estimation show how to do.
The following Python snippet checks a breakdown against a granularity rule. It flags subtasks that are too large or too small for the team's chosen limits.
# Estimates in person-days
subtasks = {
"Define columns and format": 0.5,
"Export query": 2,
"Stream results": 2,
"Export button": 1,
"Tests": 2,
"Documentation": 0.5,
"Rewrite whole reporting engine": 15,
"Rename a label": 0.1,
}
MIN_DAYS = 0.5 # smaller tasks should be grouped
MAX_DAYS = 10 # larger tasks should be split
for name, days in subtasks.items():
if days > MAX_DAYS:
print(f"SPLIT: {name} ({days} person-days)")
elif days < MIN_DAYS:
print(f"GROUP: {name} ({days} person-days)")
total = sum(subtasks.values())
print(f"Total: {total} person-days")Running it prints a SPLIT line for the reporting engine task, a GROUP line for the label rename, and a total of 23.1 person-days. The limits are a prompt for a conversation, not a law. A one-hour task on a critical deployment step may deserve its own line.
Common errors
- Mixing units in one list. Adding hours, days and story points gives a meaningless total. Convert to one unit before summing.
- Estimating in calendar time too early. If you say "two weeks" for a task, you have mixed the effort with assumptions about who does it and when. Estimate effort first.
- Using one granularity everywhere. Splitting a distant phase to the hour level creates work that will be thrown away when plans change.
- Treating a scale label as a promise. An "8" on a scale is a size class. It is not a commitment to exactly eight days.
- Switching units mid-project. Changing from days to points makes your history impossible to compare. If you change, convert past data or start a new baseline.
Choosing in practice
Ask these questions in order:
- What decision will this estimate support? A go or no-go decision needs months and a wide range. A sprint plan needs days.
- How much do we know? Little knowledge calls for a coarse unit and a size scale. Good knowledge allows days or half-days.
- Who will read it? Stakeholders who think in dates need a duration, with the effort-to-calendar conversion shown. A team that tracks its own throughput may prefer relative sizes.
- Can we compare with past data? Keep the unit your history uses.
Exercise
A colleague estimates "migrate the user database: 20 days". Name two things you should ask before accepting this number, and say what granularity change you would suggest.
Show answer
First, ask which unit it is: 20 person-days of effort, or 20 days of elapsed time. These give very different schedules if people split their time. Second, ask what the assumptions and uncertainty are, since a single number for a risky task hides a range. A 20-day task is also too large to track. Split it into deliverables of about half a day to ten days each, such as schema mapping, a migration script, a rehearsal on a copy, and cutover. Then give the risky parts their own ranges.
Exercise
A team lists tasks of 6 hours, 2 days and 1.5 story points, and adds them to get a total. Why is the total invalid, and how would you fix it?
Show answer
The three values use different units (hours, days and story points), so adding them has no meaning. Convert the hours and days to one effort unit such as person-days, using the team's working hours per day. Story points cannot be converted without historical data on how many points the team completes in a given time. Either re-estimate that item in person-days or use the team's velocity to translate it, and say that the result is approximate.