Questions tagged [estimation]

Questions related to tips and techniques about software project estimations: development time, effort, team size, software size, execution time, run time resource usage. Please ask on https://softwareengineering.stackexchange.com/help/on-topic if your question is not directly related to code.

Fred Brooks said:

It is very difficult to make a vigorous, plausible and job-risking defense of an estimate that is derived by no quantitative method, supported by little data, and certified chiefly by the hunches of the managers

On a day-to-day business context, the word estimate is often used when asking for a commitment, and this is incorrect. An estimate is not a target, not a commitment. An estimate is an assessment, based on prior experience, judgement and possibly on incomplete information about the time or resources needed to build a software project. An estimate can also be requested for the size or configuration or system resources needed to execute a software product.

Estimates always have a degree of error, so this should always be kept in mind when using an estimate to make a decision. More precision is achieved for an estimate spending more time or money - an estimate may be quick, precise and inexpensive: pick two of the three attributes.

Books about software estimation:

  • Software Estimation. Demystifying the Black Art. Steve McConnell. 2006 Microsoft Press, Redmond, WA.

  • Software Engineering Economics. Barry W. Boehm. 1981 Prentice-Hall Inc. Englewood cliffs, NJ.

492 questions
107
votes
22 answers

How to estimate a programming task if you have no experience in it

I am having a difficult time with management asking for estimates on programming tasks that are using third-party controls that I have no prior experience with. I definitely understand why they would want the estimates, but I feel as though any…
Jon Erickson
  • 112,242
  • 44
  • 136
  • 174
71
votes
51 answers

Do you inflate your estimated project completion dates?

If so why? How much? I tend to inflate mine a little because I can be overly optimistic.
Jamey McElveen
  • 18,135
  • 25
  • 89
  • 129
69
votes
6 answers

How to estimate download time remaining (accurately)?

Sure you could divide the remaining file size by the current download speed, but if your download speed fluctuates (and it will), this doesn't produce a very nice result. What's a better algorithm for producing smoother countdowns?
mpen
  • 272,448
  • 266
  • 850
  • 1,236
54
votes
12 answers

Giving estimates for large scale projects in an Agile Environment

My firm just got its first large-scale development project inquiry and I would like to use an Agile process. The client has a vision for the application but openly admits to having very few requirements and recognizes that we will have to charge by…
Chance
  • 11,043
  • 8
  • 61
  • 84
33
votes
10 answers

estimating of testing effort as a percentage of development time

Does anyone use a rule of thumb basis to estimate the effort required for testing as a percentage of the effort required for development? And if so what percentage do you use?
Martin Duys
  • 453
  • 1
  • 4
  • 9
32
votes
6 answers

How do I assess the hash collision probability?

I'm developing a back-end application for a search system. The search system copies files to a temporary directory and gives them random names. Then it passes the temporary files' names to my application. My application must process each file within…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
28
votes
3 answers

Noise Estimation / Noise Measurement in Image

I want to estimate the noise in an image. Let's assume the model of an Image + White Noise. Now I want to estimate the Noise Variance. My method is to calculate the Local Variance (3*3 up to 21*21 Blocks) of the image and then find areas where the…
Royi
  • 4,640
  • 6
  • 46
  • 64
28
votes
9 answers

How much of your work day is spent coding?

I've been thinking about software estimation lately, and I have a bunch of questions around time spent coding. I'm curious to hear from people who have had at least a couple years of experience developing software. When you have to estimate the…
Brad Wilson
  • 67,914
  • 9
  • 74
  • 83
24
votes
17 answers

Evaluating software estimates: sure signs of unrealistic figures?

Whilst answering “Dealing with awful estimates” posted by Ash I shared a few tips that I learned and personally use to spot weak estimates. But I am certain there must be many more! What heuristics to use in the scenario when one needs to make a…
Vlad Gudim
  • 23,397
  • 16
  • 69
  • 92
23
votes
7 answers

How to create an accurate hour estimate?

What are your experiences regarding project planning and creating hour estimates for new projects? What is the approach you are using, and why has or has it not worked for you? Are there any best practices to take into account?
Aron Rotteveel
  • 81,193
  • 17
  • 104
  • 128
21
votes
1 answer

How to estimate SQL query timing?

I'm trying to get an rough (order-of-magnitude) estimate of how long time the following query could take: mysql> EXPLAIN SELECT t1.col1, t1_col4 FROM t1 LEFT JOIN t2 ON t1.col1=t2.col1 WHERE col2=0 AND col3 IS…
qazwsx
  • 25,536
  • 30
  • 72
  • 106
20
votes
3 answers

Can someone explain the concept of an "instance-hour" as used by cloud computing providers?

I am looking at the pricing of various cloud computing platforms, particularly Amazon's EC2, and a lot of the quotes are based on a unit called an Instance-Hour. I am trying to get a handle on the exact definition of an instance-hour to better…
JohnFx
  • 34,542
  • 18
  • 104
  • 162
19
votes
19 answers

How to avoid the 80/20 rule in software development

It seems that no matter what my project is, I get through 80% of the work fairly fast. Users and management get excited thinking things are way ahead of schedule, but the pesky 20% of work remaining seems to take 4 times as long as the previous…
RSolberg
  • 26,821
  • 23
  • 116
  • 160
17
votes
3 answers

Algorithm to determine fundamental frequency from potential harmonics

I am attempting to extract a fundamental frequency from a sound source. maybe someone is singing A3 into the microphone, so I want to be detecting ~ 110Hz my approach is: FFT 1024 floats use the phase of each bin to accurately determine its…
P i
  • 29,020
  • 36
  • 159
  • 267
16
votes
7 answers

Realistic time estimates for progress bars etc

I know I am not the only one who does not like progress bars or time estimates which give unrealistic estimates in software. Best examples are installers which jump from 0% to 90% in 10 seconds and then take an hour to complete the final 10%. Most…
f3lix
  • 29,500
  • 10
  • 66
  • 86
1
2 3
32 33