How much does it cost to rebuild a legacy web app? What drives the price

What decides the cost of rebuilding a legacy web app: scope, data, integrations, tests and risk. Plus rebuild vs refactor, and how to get a real quote.

The short answer

The cost of rebuilding a legacy web app depends on what the old system does, how much data it holds, how many systems it connects to, and how much of its behavior is undocumented. Any honest number comes after a short assessment, and a phased migration usually costs less risk than a big-bang rewrite.

On this page
  1. Why is a rebuild harder to price than a new app?
  2. What drives the cost?
  3. Should you rebuild, refactor or replace?
  4. Why are big-bang rewrites risky?
  5. How do you move live data safely?
  6. What can you cut to lower the price?
  7. How do you get a real number?
  8. What does the old app cost you while you wait?
  9. What should you do before asking for quotes?
  10. How do you test that the new app matches the old one?
  11. What are the warning signs in a rebuild quote?
  12. Working with us

Nobody can price a rebuild from a one-line description, and anyone who does is guessing. What you can do is understand what drives the cost, so you can compare quotes and cut scope sensibly.

Why is a rebuild harder to price than a new app?

A new app has a blank page. A legacy app has years of behavior nobody wrote down: edge cases, special customers, reports finance depends on. The rebuild must keep all of that working. Much of the effort is finding out what the old system really does, not writing the new one.

What drives the cost?

Driver Why it matters
Number and complexity of features Each screen, workflow and report must be understood and rebuilt or deliberately dropped.
Undocumented behavior The old code is the only specification. Reading it takes time.
Data volume and quality Migrating data means mapping old fields to new, cleaning duplicates and proving nothing was lost.
Integrations Payment providers, accounting, email, partner APIs: each has its own quirks.
Users and roles Permissions logic is often scattered through the old code.
Tests If the old app has none, nobody can prove the new one behaves the same. Writing checks is part of the work.
Downtime tolerance Switching a live system without stopping the business takes extra planning.
Hosting and security debt Old frameworks, unsupported versions and old servers must be handled.
Your availability Decisions from your side that arrive late slow everything.

Should you rebuild, refactor or replace?

  • Refactor when the app mostly works and the pain is in specific areas. Cheapest in risk, but old limits stay.
  • Rebuild when the foundation blocks you: unsupported framework, wrong data model, impossible to change safely.
  • Replace with a product when your needs are ordinary and an off-the-shelf tool does 90 percent of it. Be honest about this; custom code is a cost you carry forever.
  • Strangle it in phases: build new modules beside the old app and move traffic across piece by piece. Slower to finish, much safer.

Why are big-bang rewrites risky?

You pay for months before anything is live, and everything is tested against reality for the first time on launch day. A phased approach delivers working parts early and lets you stop if priorities change.

How do you move live data safely?

By comparing, not hoping. When we moved a live CRM from SQLite to PostgreSQL and object storage, we compared responses from old and new, request by request, until no differences were left, then switched. The method is in moving a live CRM from SQLite to PostgreSQL. The general rule: run old and new on the same inputs and treat every difference as a bug or a documented change.

What can you cut to lower the price?

  • Drop features nobody uses. Ask for usage data before rebuilding every screen.
  • Rebuild the core first, leave rarely used admin screens for later.
  • Keep integrations that work as they are.
  • Accept a plainer interface on the first release.
  • Migrate only the history you need.

How do you get a real number?

Ask for a short, paid or free assessment (agree which in writing) that produces:

  1. A list of features and data the new system must cover.
  2. The risks found in the old code and data.
  3. A phased plan, with the first phase small enough to price firmly.
  4. What is deliberately left out.

Then compare quotes on the same list. If one quote is far below the others, find out what it leaves out. See red flags in a software proposal.

What does the old app cost you while you wait?

Include the cost of staying: slow changes, security exposure, engineers who dread touching it, customers you cannot serve. Sometimes that number is what justifies the rebuild.

What should you do before asking for quotes?

Gather what exists: access to the running app, the source code if you have it, a list of the servers and services it uses, the database, and any documents. Write down the five things the app must never get wrong, such as invoices, permissions or customer records. Note which users depend on which features. A studio that can look at the real system gives a tighter range than one working from a description. If you do not have the source code or cannot get into the hosting account, say so early; that is a risk in its own right, and it is covered in who owns the code.

How do you test that the new app matches the old one?

Run both on the same inputs and compare. Record real requests and outputs from the old system, replay them against the new one, and list every difference. Each difference is either a bug in the new app or an approved change. Do it with generated inputs too, since recorded traffic only covers the cases that happened to occur. This is slower than eyeballing screens, and it is the only way to stop a rewrite from losing behavior nobody remembered.

What are the warning signs in a rebuild quote?

A single number for the whole rewrite, no mention of data migration, no plan for running old and new side by side, no list of what is dropped, and no testing approach. Any one of these means the quote is a hope, not an estimate.

Working with us

If you have a legacy system and are weighing rebuild options, describe it through contact: what it does, what hurts and what must not break. We will say what we would assess first. See our web app development page.

Keep reading

Tell us what you want to build.

A product, a website, a search problem or a system that should work better. We reply with a plain answer and the first step.

A few sentences are enough (at least 20 characters).

We use your details only to answer your inquiry. See our privacy policy.