Integrators and software vendors quote mainframe programmes privately, so there is no list price to cite. The most detailed public figures are the agency-reported costs in the US Government Accountability Office's review of the federal legacy systems most in need of modernisation, GAO-25-107795, published 17 July 2025. GAO withheld the system names; the table uses its numbering. Below are four of the systems in the review that run on COBOL or assembly language.
COBOL and assembly-language systems in GAO-25-107795 (agency-reported, July 2025)
| System (GAO numbering) | In use since | Language | Annual operating cost | Reported modernisation cost |
|---|---|---|---|---|
| Defense System 3: contract administration and payment, on a mainframe | 1964 | COBOL and assembly | $8.7 million (DCMA only) | Approx. $60 million to $90 million |
| IRS System 9: individual and business tax account data, batch processing | 1965 | Assembly | $331.8 million | $549 million initial; $1.25 billion independent |
| IRS System 10: case control, taxpayer notices, refund status | 1973 | COBOL | $15 million | None yet; $72 million to plan and prototype |
| USDA System 1: payroll and personnel for USDA and other agencies | 1983 | COBOL | $103.8 million | Not calculated (finish FY 2031) |
Two things in the record matter for any budget. First, estimates move: the IRS briefed $549 million to the Office of Management and Budget in December 2023, and an independent estimate four months later came to $1.25 billion, which IRS officials said assumed a larger scope. Second, the old system keeps costing money until the new one is live, so the annual operating cost in the fourth column runs alongside the modernisation spend for the whole parallel run. These are government systems with government procurement, so treat them as the scale of real programmes, not as a quote for yours.
The one part of a mainframe to cloud migration with a published rate is the runtime the converted or recompiled application runs on. AWS prices it per AWS CPU core per hour. Enter the cores your proof of concept needs and how long they run.
The usual paths are the "R" options also used for other workloads. What differs is what you pay for, and only some of it carries a published price.
Mainframe modernisation paths and the published prices behind them
| Path | What it does | What you pay for | Published price |
|---|---|---|---|
| Refactor (automated COBOL to Java) | Convert COBOL to Java with AWS Transform for mainframe, run on AWS | Conversion labour and testing; AWS infrastructure used; the runtime | Mainframe agent free; runtime $0.31 per core-hour |
| Replatform (recompile) | Recompile COBOL on the Rocket runtime (ex-Micro Focus) on cloud compute | Rocket licence; data porting, testing and cutover labour; compute | $5.55 per core-hour inside AWS MM (existing customers); direct Rocket licence on quote |
| Re-engineer (rewrite) | Rebuild the functions as new Java, C# or Python services | Development and testing labour | None: labour is quoted |
| Repurchase (SaaS replacement) | Replace the application with a SaaS product | Subscription plus data migration and integration | The SaaS vendor's own pricing |
| Retain | Keep it on the mainframe, modernise the integrations | Continued mainframe running cost | Your current mainframe contract |
| Retire | Decommission the workload, preserve the data | Archive, regulatory retention, shutdown | None: labour is quoted |
AWS launched Mainframe Modernization Service (MM) in 2022 as a managed runtime for COBOL and PL/I applications. MM supports two patterns. First, replatform: recompile COBOL to run on a Micro Focus or Blu Age runtime hosted on EC2-like managed compute. Second, refactor: automated COBOL-to-Java conversion via the Blu Age engine, producing Java code that runs on EC2 or container services. The service is documented on the public AWS Mainframe Modernization page.
MM is billed per AWS CPU core per hour. AWS has closed both the managed runtime environment and the self-managed experience to new customers; existing customers continue as before, and AWS directs new projects to vendor-direct offerings and to AWS Transform (see the AWS availability notice). The self-managed closure covers replatform with Rocket, data replication with Precisely, replatform with NTT DATA, Assembler conversion with mLogica and SPARC virtualization with Stromasys. The two runtimes are priced very differently. The Rocket replatform runtime (the COBOL recompile engine, formerly Micro Focus Enterprise Server) is $5.55 per AWS CPU core per hour; the AWS Transform for mainframe runtime (the automated COBOL-to-Java engine, formerly AWS Blu Age) is $0.31 per AWS CPU core per hour. Rocket Developer tooling is $2.14 per core per hour. Fargate deployments are billed per vCPU-hour at half the per-core rate. The data layer (Db2 z/OS to managed Db2 LUW or PostgreSQL, VSAM to object storage) and add-on data-replication or file-transfer connectors carry separate cost. These rates are from the public AWS Mainframe Modernization pricing page, checked 18 November 2026.
The conversion itself is not billed by AWS. The AWS Transform pricing page lists the mainframe modernization agent as free, and the Mainframe Modernization pricing page says there is no additional charge for the AWS Transform for mainframe analysis, developer and build tools; the AppStream 2.0 and CodeBuild resources they use are billed at their own rates (checked 22 November 2026). AWS says future capabilities may be introduced as paid features. The same pricing page lists mLogica's Assembler to COBOL conversion at $2.75 per line of code, one of the self-managed offerings now closed to new customers.
Micro Focus Enterprise Server is the dominant commercial COBOL runtime for cloud replatform. Rocket Software acquired the product (the Application Modernization and Connectivity business, formerly Micro Focus, by way of OpenText) in a deal that closed 1 May 2024, so it is now sold and supported as Rocket Enterprise Server and branded the Rocket runtime inside AWS Mainframe Modernization. It supports IBM CICS, IMS, JCL, and most COBOL dialects with high fidelity. Enterprise Server can run on AWS, Azure, GCP, or on customer-owned infrastructure. The replatform pattern: recompile the mainframe COBOL on Enterprise Server, port the data (Db2 z/OS to Db2 LUW or PostgreSQL, VSAM to managed file storage), redirect interfaces, and cutover.
The licence is the trade-off of this path: you keep paying a runtime licence in exchange for keeping the COBOL intact and avoiding a rewrite. Inside AWS MM the licence is part of the $5.55 per core-hour rate. New customers license Enterprise Server from Rocket directly; we have not found a published price for it, so get a Rocket quote for your core count and compare it with the per-core-hour figure from the calculator. For estates that plan to re-engineer eventually, replatform is often an intermediate step that removes the mainframe but keeps the option to rewrite later at a lower-risk pace.
Full re-engineering rebuilds the mainframe application logic in a modern language (Java, C#, Python) as a microservices architecture. The end-state is a fully cloud-native application that has no mainframe dependency, no runtime licence, and modern maintainability characteristics. It carries the most labour of any path.
Automated converters (AWS Transform for mainframe, built on Blu Age, which AWS acquired; TmaxSoft OpenFrame; EvolveWare) take COBOL source code as input and produce Java source code as output, preserving business logic but transforming the structure. Defense's System 3 in the GAO review is taking this route: its September 2024 technical study recommended automated code translation, and the agency began a proof of concept of the tools.
The challenge with automated conversion. The resulting Java code mirrors the COBOL structure: procedural rather than object-oriented, with global state, with COBOL idioms like PERFORM and GO TO translated to Java equivalents that are syntactically valid but stylistically awkward. Long-term maintainability requires human refactoring to bring the code up to standard Java patterns. Successful re-engineering programmes treat the automated conversion as a starting point and budget separately for the human refactoring follow-on.
The hidden cost of re-engineering
Mainframe modernisation programmes face a talent challenge that other migration types do not. COBOL expertise is concentrated in an ageing workforce; new COBOL developers are rare. The GAO review records the same problem from the agencies' side: Defense officials said it is difficult to find COBOL and assembly language developers, and Energy officials said it is extremely difficult to recruit COBOL programmers. The longer a programme is deferred, the harder it becomes to staff.
The SI partner market for mainframe modernisation includes the large offshore integrators (Cognizant, TCS, Infosys, Wipro), the onshore consultancies (Accenture, Deloitte, Capgemini) and specialist COBOL-conversion firms. None publishes a day rate for this work, so compare proposals on scope, the share of code converted automatically, and who carries the testing risk.
Mainframe modernisation is the most expensive, longest, and highest-risk shape of cloud migration. The programme discipline it needs is unusual: a multi-year structure, deep specialist talent, careful portfolio rationalisation, and a willingness to use the full range of paths (refactor, replatform, re-engineer, retire, retain) rather than forcing every workload into a single approach.
Programme costs are the agency-reported figures in GAO-25-107795 (17 July 2025), quoted as GAO prints them. Runtime and tooling rates are from the AWS Mainframe Modernization pricing page (read 18 November 2026) and the AWS Transform pricing page (read 22 November 2026). The calculator multiplies your inputs by those rates and shows the sum. We publish no programme-cost range of our own, because nobody publishes the labour rates one would need.
A. No vendor or integrator publishes a price for a mainframe modernisation programme, because the cost is set by the size of the code base, the data and the testing. The public record is the US Government Accountability Office's July 2025 review of federal legacy systems (GAO-25-107795). In it the Department of Defense put the modernisation of a 1964 COBOL and assembly contract-payment system on a mainframe at approximately $60 million to $90 million, and the IRS's initial estimate for a 1965 assembly-language tax system was $549 million, against an independent estimate of $1.25 billion. On the cloud side, AWS publishes runtime rates: $0.31 per AWS CPU core per hour for the AWS Transform runtime and $5.55 for the Rocket replatform runtime.
A. AWS Mainframe Modernization (MM) is a runtime for COBOL and PL/I applications, supporting two patterns: replatform (recompile COBOL to run on the Rocket runtime, formerly Micro Focus Enterprise Server) and refactor (automated COBOL-to-Java conversion, now AWS Transform for mainframe, formerly AWS Blu Age). AWS has closed both the managed runtime environment and the self-managed experience to new customers; existing customers keep using them. For new projects AWS points to vendor-direct offerings (such as Rocket) and AWS Transform. The runtimes are billed per AWS CPU core per hour.
A. AWS Mainframe Modernization runtimes are billed per AWS CPU core per hour, on demand with no upfront fee, or via cheaper committed plans. The Rocket replatform runtime (COBOL recompile, formerly Micro Focus Enterprise Server) is $5.55 per AWS CPU core per hour; the AWS Transform for mainframe runtime (COBOL to Java, formerly AWS Blu Age) is $0.31 per AWS CPU core per hour; Rocket Developer tooling is $2.14 per core per hour. The AWS Mainframe Modernization self-managed experience, which includes the Rocket replatform runtime, is no longer open to new customers, so the Rocket rates apply to existing customers; new customers license Rocket directly. Fargate deployments are billed per vCPU-hour at half the per-core rate. The data layer and data-replication, file-transfer, and code-conversion connectors are charged separately. Figures from the AWS Mainframe Modernization pricing page, checked 18 November 2026.
A. Not for the conversion agent itself. AWS's AWS Transform pricing page lists the mainframe modernization agent as free, and the AWS Mainframe Modernization pricing page says there is no additional charge for the AWS Transform for mainframe analysis, developer and build tools. You pay for the AWS infrastructure the work consumes (AppStream 2.0 and CodeBuild are billed at their own rates) and, once the converted application runs, for the AWS Transform runtime at $0.31 per AWS CPU core per hour. AWS notes that future capabilities may become paid features. Checked 22 November 2026.
A. Existing AWS Mainframe Modernization customers pay $5.55 per AWS CPU core per hour for the Rocket runtime, which includes the Enterprise Server licence. New customers buy Rocket Enterprise Server from Rocket Software directly; we have not found a published price for that licence, so price it on a Rocket quote. The rest of a replatform (recompiling, porting Db2 and VSAM data, testing and cutover) is labour, which nobody publishes as a rate.
A. Often only part of it. A portfolio review normally finds workloads that can be retired outright (the business function is gone, or the data is held elsewhere), and every retired workload is one fewer to convert, test and run. The GAO review shows why retiring the old system matters to the budget: it lists annual operate-and-maintain costs of $331.8 million for the IRS assembly-language system and $103.8 million for a USDA COBOL payroll system, which keep running until the replacement is live.
A. Years, on the public record. In GAO's July 2025 review, USDA planned to finish replacing its 1983 COBOL payroll system in fiscal year 2031; Defense officials said stabilising their 1964 mainframe system could take 2 to 3 years once funded; and the IRS had not set completion dates for either of its 1960s and 1970s tax systems. Testing dominates the timeline, because decades of business rules have to be proved on the new platform.
SAP HANA to cloud ->
Another high-cost, multi-year workload
Oracle to AWS ->
Licence economics dominate
Data centre exit ->
Wave planning, multi-workload programme
On-prem to AWS ->
MAP, EC2, Snowball
On-prem to Azure ->
Hybrid Benefit, FastTrack
Refactor vs replatform ->
Strategy cost decision
Strategy cost tables ->
7Rs framework
10 hidden costs ->
Detailed playbook
Updated 22 November 2026