top of page
12080e8b-41e9-48bf-808d-4c61e47ef0ff.png
46398749-7f9c-4b86-888c-f5c578386a27.png

Cost Analysis Example: Worked Calculation Step by Step

4 days ago
10 min read

Last Updated: November 7, 2026

Quick Summary

A cost analysis adds up every cost tied to a decision, including ongoing costs after the purchase, so you can compare options on their total expense. In the worked example, a used truck at $26,000 beats a new one at $48,000 on total cost over five years, and the gap narrows once future costs are discounted to present value.

  • Include ongoing costs like fuel, insurance, and repairs, not just the purchase price.

  • Compare options over the same time horizon so the results are fair.

  • Discount future costs to today's dollars at about 8% before comparing totals.

  • The used truck totals about $58,604 undiscounted versus $65,743 for the new truck.

  • Run sensitivity checks on fuel, repairs, and resale to see if the winner holds.

Need clearer cost numbers?

Kindred Financial Services organizes your books so you can plan with confidence.

Table of Contents

Cost analysis example work is where most small business owners stop guessing and start seeing their real numbers. This guide walks through a worked calculation, step by step, so you can run the same math on your own decisions.

A cost analysis compares what something costs against the options you could choose instead. It is a practical tool for buying equipment, hiring, or launching a new service.

What a Cost Analysis Is and When You Need One

A cost analysis is a structured way to add up all the costs tied to a decision.

You need one when a purchase is large enough to strain cash flow, when two options look similar on price, or when a decision will affect your costs for years.

Common triggers include:

  • Buying equipment or vehicles

  • Choosing between two vendors or suppliers

  • Deciding whether to outsource or keep work in-house

  • Expanding to a new location or service line

Many owners compare only the sticker price. A full analysis looks past the price tag to the ongoing costs that follow.

How Cost Analysis Differs from Cost-Benefit Analysis

These two terms get mixed up often, but they answer different questions.

A cost analysis focuses on the costs of each option.

Watch out: Skipping the benefit side can make a cheap option look like the winner, even when it earns you less.

Use a cost analysis when you already know the project is worth pursuing and need to pick the cheapest path.

Simple Cost Analysis Example: Choosing Between Two Equipment Options

Here is a worked example with illustrative numbers. Imagine a small contractor choosing between two job-site trucks for a crew.

Small business owner reviewing equipment quotes on a laptop for a cost analysis at a desk

  • Option A (new truck): $48,000 purchase price, 7-year useful life, $12,000 estimated resale value at year 5

  • Option B (used truck): $26,000 purchase price, 5-year useful life, $4,000 estimated resale value at year 5

Because the two trucks have different useful lives, compare them over a common time horizon, here, five years. That is the period the contractor can confidently forecast, and it is shorter than either truck's full life, so both options are measured on the same basis.

Start by listing every cost you expect to pay in each year, not just at purchase. A common pattern is to build the analysis as a year-by-year cash-flow table:

Cost item

Year 0

Years 1-5 (each year)

Option A purchase

$48,000

,

Option A fuel

,

$3,200

Option A insurance and registration

,

$2,400

Option A maintenance and repairs

,

$1,000 in year 1, rising about 15% per year

Option A resale (offset)

,

−$12,000 in year 5

Option B purchase

$26,000

,

Option B fuel

,

$3,200

Option B insurance and registration

,

$2,000

Option B maintenance and repairs

,

$2,500 in year 1, rising about 20% per year

Option B resale (offset)

,

−$4,000 in year 5

Now total the undiscounted cash outflows over five years. For Option A: $48,000 + (5 × $3,200) + (5 × $2,400) + repairs of roughly $1,000 + $1,150 + $1,323 + $1,521 + $1,749 − $12,000 resale = about $65,743. For Option B: $26,000 + (5 × $3,200) + (5 × $2,000) + repairs of roughly $2,500 + $3,000 + $3,600 + $4,320 + $5,184 − $4,000 resale = about $58,604.

On a simple cash total, the used truck wins by roughly $7,100. But the two options are not equal in timing: Option A ties up $22,000 more cash at the start, and that money has a cost. That is where discounting comes in.

Bringing Future Costs to Today's Dollars

A dollar spent in year 5 is worth less than a dollar spent today, because you could have invested today's dollar.

The present value formula for a single future cash flow is:

PV = Cash flow ÷ (1 + r)^n

where r is the discount rate (0.08) and n is the number of years in the future.

Applying 8% to the five-year streams above:

  • Option A: $48,000 at year 0 stays $48,000. The five years of fuel and insurance ($5,600 per year) have a present value of about $22,363. The rising repair stream has a present value of about $5,700. The $12,000 resale in year 5 has a present value of about $8,167. Net present cost ≈ $48,000 + $22,363 + $5,700 − $8,167 = $67,896.

  • Option B: $26,000 at year 0 stays $26,000. The five years of fuel and insurance ($5,200 per year) have a present value of about $20,766. The rising repair stream has a present value of about $13,900. The $4,000 resale in year 5 has a present value of about $2,722. Net present cost ≈ $26,000 + $20,766 + $13,900 − $2,722 = $57,944.

The used truck still wins, but the gap narrows to about $9,950 in present-value terms, larger than the undiscounted gap because Option A's big upfront outlay is weighted more heavily once future savings are discounted.

Calculating the Cost-Benefit Ratio for Each Option

If you want a single index to compare options, divide the present value of benefits by the present value of costs.

  • Option A benefit PV ≈ $40,000 × 3.993 (annuity factor at 8%, 5 years) + $8,167 resale ≈ $167,887. Cost PV ≈ $67,896. Ratio ≈ 2.47.

  • Option B benefit PV ≈ ($40,000 − $770) × 3.993 + $2,722 ≈ $159,394. Cost PV ≈ $57,944. Ratio ≈ 2.75.

A ratio above 1.0 means benefits exceed costs. The higher ratio wins when you are comparing options of similar scale; when scale differs, compare net present value instead, because a large project with a lower ratio can still create more total value.

Reading the Result

Both trucks clear the bar, but the used truck produces more value per dollar of cost. The decision rule is straightforward: choose the option with the higher cost-benefit ratio when budgets are tight, or the higher net present value when you can fund either one.

Watch out: comparing a 7-year truck to a 5-year truck over only five years ignores the extra two years of service Option A would provide. If the contractor expects to keep a truck for seven years, the analysis should extend to seven years for both options, with Option B replaced in year 6, otherwise the comparison quietly favors the shorter-lived asset.

Running Sensitivity and Scenario Checks on Your Numbers

Your estimates will not be perfect. Sensitivity analysis tests how the result changes when one input shifts, such as fuel prices or repair frequency.

Try a few quick scenarios:

  • Fuel costs rise 20 percent

  • Repair costs double in year four

  • Resale value drops faster than expected

If the cheaper option stays cheaper across most scenarios, your decision is sturdy. If a small change flips the winner, collect better data before you commit.

Many owners find that one or two inputs drive most of the result. Focus your checks on those.

Cost Analysis Template and Excel Setup

A simple spreadsheet is enough for most small decisions, but the layout matters. Build the model so that every assumption lives in one clearly labeled input block, and every calculated cell references those inputs rather than hard-coded numbers. That way, changing one assumption updates the entire analysis.

The Input Block

Put these rows at the top of the sheet, one value per cell, with a label in column A and the value in column B:

Input

Value

Discount rate

8%

Time horizon (years)

5

Option A purchase price

$48,000

Option B purchase price

$26,000

Option A annual fuel

$3,200

Option B annual fuel

$3,200

Option A annual insurance

$2,400

Option B annual insurance

$2,000

Option A year-1 repairs

$1,000

Option B year-1 repairs

$2,500

Repair escalation, Option A

15%

Repair escalation, Option B

20%

Option A resale, year 5

$12,000

Option B resale, year 5

$4,000

Name each cell (for example, disc_rate, horizon, a_price) using Excel's Name Box so formulas read clearly. Named ranges also make the model portable to Google Sheets without breaking references.

The Cash-Flow Grid

Below the input block, build a grid with one row per cost item and one column per year, from Year 0 through Year 5. Each cell should be a formula, not a typed number:

  • Year 0 purchase: =a_price in the Year 0 column, zero elsewhere.

  • Annual fuel: =a_fuel in every year column from 1 to 5.

  • Annual insurance: =a_insurance in every year column.

  • Repairs: =a_repairs * (1 + a_repair_growth) ^ (year - 1), where year is a helper row across the top of the grid.

  • Resale: =-a_resale in the Year 5 column only, so it offsets the outflow.

Sum each row across the years to get the undiscounted total for that cost item, then sum the column totals to get the undiscounted lifetime cost for each option.

The Discounting Columns

Add a second set of columns to the right of the cash-flow grid, one per year, that discount each year's total:

  • Discount factor for year n: =1 / (1 + disc_rate) ^ n.

  • Discounted cash flow: =cash_flow_for_year * discount_factor.

Sum the discounted columns to get the net present cost for each option. The formula =NPV(disc_rate, range) does the same thing in one step if your cash flows start in year 1; if year 0 is included, add it separately because Excel's NPV function assumes the first value is one period in the future.

The Summary Block

At the bottom, build a small summary that pulls the key outputs together:

Metric

Option A

Option B

Undiscounted total cost

=SUM(...)

=SUM(...)

Net present cost

=SUM(...)

=SUM(...)

Present value of benefits

=SUM(...)

=SUM(...)

Cost-benefit ratio

=benefit_pv / cost_pv

=benefit_pv / cost_pv

Net present value

=benefit_pv - cost_pv

=benefit_pv - cost_pv

Conditional formatting on the ratio and NPV rows, green for the higher value, red for the lower, makes the winner obvious at a glance and reduces the chance of misreading the table.

Where to Get Reliable Cost Inputs

Most practitioners find that the hardest part of the analysis is not the math but the inputs. A few practical sources:

  • Purchase price: written quotes from at least two vendors, not list prices.

  • Fuel and energy: your own prior-year utility or fuel-card statements, divided by miles or hours of use.

  • Insurance and registration: current policy declarations pages; ask the agent for a quote on the specific asset rather than estimating.

  • Maintenance: manufacturer-recommended service schedules plus your own repair history for similar assets; industry repair-cost guides can fill gaps for equipment you have not owned before.

  • Resale value: current listings for comparable used assets, adjusted for condition and hours.

When data is missing, document the assumption in a dedicated 'Assumptions' tab with the source, the date, and a confidence rating (high, medium, low). Anyone reviewing the analysis later, including you, can then see which numbers were measured and which were guessed.

Documenting Assumptions

Every model should carry a short assumptions log. Record the discount rate and why it was chosen (borrowing rate, cost of capital, or a policy rate), the time horizon and why it matches the decision, the escalation rates for repairs and fuel, and any cost you deliberately excluded.

Watch out: hard-coding numbers inside formulas instead of referencing the input block is the most common way these models break, a single changed assumption then requires editing dozens of cells, and it is easy to miss one, which silently corrupts the result.

Comparing Estimated and Actual Costs After Implementation

Once you buy, track what you actually spend. Compare those results to your original estimates each quarter.

Large gaps tell you something. If repairs run far above estimate, your data source may have been too optimistic. Update the template with real figures so your next analysis starts from better numbers.

This feedback loop is where cost analysis becomes a habit rather than a one-time exercise.

Booking a Cost Review With Kindred Financial Services

If your numbers feel tangled, a second set of eyes helps. Kindred Financial Services works with business owners to read their books and plan with clear, organized figures. For current pricing or a quote, visit the Kindred Financial Services website, where you can book a review online.

Ready to see your numbers clearly? Kindred Financial Services can help you set up a cost analysis that fits your business, with QuickBooks-based bookkeeping and planning support built around your goals.

Frequently Asked Questions

What is cost analysis with an example?

Cost analysis totals every cost of an option so you can compare it with alternatives. For example, a shop comparing two $12,000 machines might find that Machine A costs $1,800 per year to run and Machine B costs $2,400 per year. Adding maintenance, financing and expected life shows which machine costs less over five years. The result is a total cost figure for each option, not a judgment about benefits.

How do you write a cost analysis?

Start by defining the decision and the time horizon. List every option, then list all costs for each: initial purchase, installation, operating, maintenance, labor and opportunity cost. Classify each cost as direct, indirect, fixed or variable. Estimate annual amounts in USD, total them over the horizon, and run sensitivity checks on your two or three most uncertain assumptions before choosing.

What is the difference between cost analysis and cost-benefit analysis?

A cost analysis measures only the costs of one or more options. A cost-benefit analysis also values the benefits, such as added revenue or labor savings, and compares them with costs, often through a benefit-cost ratio or net present value. Cost analysis answers which option is cheapest to achieve a goal; cost-benefit analysis answers whether a project is worth doing at all.

What should a cost analysis include?

A complete cost analysis includes initial investment, recurring operating and maintenance costs, labor, financing charges, indirect overhead, and the opportunity cost of money or capacity used. It should state its assumptions, discount rate if used, and useful life. Include a sensitivity section showing how totals change if key estimates move by 10 or 20 percent.

 
 
 

Comments


bottom of page