Microsoft Excel can do this (or Google docs if you prefer) assuming you setup the formulas to do the calculation. Pretty simple IMO. Some people prefer a more formal project system like Microsoft Project. A web app that is popular is Basecamp by 37signals.
If you have an existing app, you can try this: http://www.projectcodemeter.com/cost_estimation/kop1.html