Site icon The Invincible India

Startup Deep Dive : Marg ERP — India’s biggest name in pharma distribution software you have never heard of

The Invincible India Startup Deep Dive featured graphic for Marg ERP.

Marg ERP holds more than half of India’s market for pharmacy and pharma-distribution billing software, by two independent counts, yet almost nobody outside a chemist’s back office has heard of it. In August 2025 a private equity firm wrote a ₹400 crore (~$41.7 million) cheque into the company, months after its own founders had finished quietly buying themselves out of a partnership with the parent of PharmEasy.

That sequence — dominance in a vertical nobody glamorises, followed by a scramble to undo a deal with a much larger, much shakier partner — is the real story of Marg ERP. Founded as a one-man coding job for a Meerut pharma trader in 1992 and formally incorporated in Delhi in 2000, the company now says its software runs the books for pharma distributors, chemists and FMCG wholesalers across India and more than 30 countries. This piece traces how a desktop accounting tool for druggists became a Rs 400 crore-plus growth bet, what nearly went wrong along the way, and where its numbers actually stand.

Quick facts

Company Marg ERP Limited (also styled Marg Compusoft)
Founded 1992, informally, in Delhi; formally incorporated as Marg Compusoft Pvt Ltd on 28 November 2000 (Tofler company filing)
Founder(s) Thakur Anup Singh (Chairman & Managing Director), Mahender Singh (Co-founder & Managing Director-Technical), Sudhir Singh (Co-founder)
Businesses GST billing, accounting and inventory ERP for pharma distributors and chemists; FMCG and retail ERP; HRMS and payroll (MargHR); cloud/SaaS ERP
Latest FY revenue ₹75-100 crore for FY25 (year to March 2025), up 18.9-19% year-on-year (Tofler; Tracxn)
Latest FY profit Net profit up about 30.8% year-on-year in FY25; EBITDA up 21.6-26% (Tofler; Tracxn) — absolute rupee figures are not publicly disclosed
Listed or Private Private (unlisted public limited company); not to be confused with MARG Limited, an unrelated construction firm listed on the BSE and NSE
Market value / last valuation Not disclosed. Jashvik Capital invested over ₹400 crore for an undisclosed stake in August 2025 (reported)
Key shareholders Founders (Thakur Anup Singh, Mahender Singh, Sudhir Singh), who hold full ownership again after a February 2025 buyback; Jashvik Capital (minority investor since August 2025)

What they do

Marg ERP builds desktop and cloud software that lets small and mid-sized Indian businesses run their billing, inventory, GST filing and accounts from one screen. Its core customer is not a startup or an enterprise but a pharma distributor, a chemist’s shop, an FMCG wholesaler or a small manufacturer — the kind of business that needs to track batch numbers, expiry dates, drug schedules and GST returns every single day, not just at year-end. The company says its software works for wholesalers, stockists and clearing-and-forwarding agents in the pharmaceutical trade, handling billing, inventory, accounting, GST compliance, expiry tracking, payments and deliveries from one platform, alongside a separate HRMS product (MargHR) sold across industries for payroll and attendance.

The origin

Thakur Anup Singh was born in 1972 to a Subedar Major in the Indian Army and grew up, by his own account, on a mix of military discipline and a modest household income. In 1992, working as a young programmer for a pharmaceutical trading company, he wrote software to help the owner track his inventory and finances — there was no off-the-shelf tool built for how Indian pharma distributors actually worked, with their expiry dates, drug licences and paper-thin margins. That one piece of code became the seed of a business. Singh moved to Delhi and, alongside Mahender Singh and Sudhir Singh, began selling the software to other distributors on the side, reportedly starting out of a makeshift setup under a tree in Ashok Vihar before the venture had an office, a brand or outside capital.

The founding insight was narrow rather than sweeping: build for one unglamorous, regulation-heavy trade — pharma distribution — better than any general-purpose accounting package could, and expand outward from there once that base was secure. It took eight years from Singh’s first line of code to the company’s formal incorporation as Marg Compusoft Pvt Ltd in November 2000.

The struggle years

The first stretch was simply about survival on thin resources. From 1992 to 2000, the founders built and sold an MS-DOS-era application to pharma distributors with limited capital and no institutional backing, competing for attention against Tally, which already dominated general small-business accounting. Marg’s answer was to not compete on Tally’s turf directly, but to go deep into a vertical — pharmaceutical distribution — where generic accounting software handled expiry dates, batch tracking and drug-schedule rules badly or not at all.

The second, more dangerous struggle came decades later and had nothing to do with product or market fit. In October 2021, the founders sold a stake to API Holdings, the parent company of PharmEasy, as part of what both sides described as a plan to build an integrated pharma-sector ecosystem linking Marg’s distributor software to API Holdings’ own platforms, including Retailio and Redbook. API Holdings’ stake grew to 49% by October 2022. On paper this looked like the growth story: capital and distribution muscle from one of India’s best-funded healthtech groups. In practice, the founders later said the arrangement restricted their ability to serve distributors and retailers the way they had originally envisioned — a company built to be a neutral back-office layer for every pharma distributor in India now had a large, competitively interested shareholder with its own retail and distribution ambitions in the same market.

The turning point

The turning point was not a product launch or a funding round in the usual sense — it was a founder-led unwind. In February 2025, Thakur Anup Singh, Mahender Singh and Sudhir Singh repurchased API Holdings’ entire 49.17% stake in Marg ERP, restoring full founder ownership after roughly three-and-a-half years of a partnership they said had become a constraint rather than an accelerant. The financial terms of that buyback were not disclosed.

What happened next is the real payoff of the number in this piece’s opening line. Within about six months of regaining full control, on 31 July 2025, the founders signed a deal with Jashvik Capital, a mid-market private equity firm run by former TA Associates partner Naresh Patwari, for an investment of over ₹400 crore (~$41.7 million) — the fourth investment out of Jashvik Capital’s roughly $350 million debut fund. The stake size and post-money valuation were not disclosed, but the shape of the story is clear either side of that hinge: a company that had spent years tethered to a distressed-adjacent strategic investor moved, within months, from full founder buyback to a large, independent growth-capital cheque.

The money behind it

Marg ERP’s capital history has one dominant chapter and it is recent. Unlike venture-backed software startups that raise seed and Series A/B/C rounds, Marg ran for roughly three decades on internal cash flow before taking any outside capital at scale.

Total disclosed external capital into the company is effectively the Jashvik round, since the API Holdings stake was later reabsorbed by the founders rather than compounding as permanent outside capital. No public valuation figure has been confirmed by the company for either the API Holdings stake or the Jashvik round.

How it makes money

Marg’s revenue model is closer to enterprise software of the 2000s than to modern SaaS, though it has layered a subscription option on top.

The part people get wrong is treating Marg as a SaaS company because it now offers a cloud tier. Most of its historical revenue and its 30-year customer base sit on the older one-time-licence-plus-AMC model, which produces lower, lumpier recurring revenue per customer than a true subscription business, but also a lower cost of switching once a distributor’s years of inventory and GST data live inside Marg’s format.

The numbers

Marg ERP is unlisted and does not publish a detailed profit-and-loss account; the figures below come from corporate-data aggregators that draw on its Ministry of Corporate Affairs filings, and only the two most recent years have confirmed, cross-checked ranges. Where a range is given, two aggregators disagreed on the exact figure but agreed on the direction and rough scale.

Metric FY24 (year to Mar 2024), implied FY25 (year to Mar 2025)
Revenue (₹ crore) ~63-84 (implied from FY25 range and disclosed growth rate) 75-100
Revenue growth YoY — 18.9% (Tofler) / ~19% 1-year CAGR (Tracxn)
EBITDA growth YoY — 21.6% (Tofler) / ~26% 1-year CAGR (Tracxn)
Net profit growth YoY — ~30.8% (Tofler)
Net worth growth YoY — ~53.4% (Tofler)
Employees ~286 (implied from FY26 count and disclosed 31% growth) 375 as of 1 April 2026, up 31% YoY (Tracxn)

Two separate aggregators, Tofler and Tracxn, put FY25 revenue in the ₹75-100 crore and ₹50-100 crore bands respectively — overlapping but not identical, which is why this piece reports a range rather than a single number. Absolute profit figures in rupees have not been independently confirmed and are cut from this piece rather than estimated.

Where the money comes from

Marg’s business splits by customer vertical rather than by geography, since India remains its core market even though the company says it is used in more than 30 countries.

The surprise is how narrow Marg’s footprint looks once measured against the entire Indian ERP and accounting-software market rather than against its own vertical: 6sense’s broader ERP-category tracking puts Marg’s overall market share at roughly 0.05%, against Tally’s far larger share of the general small-business accounting market. Marg does not compete for every small business in India; it has instead made itself close to indispensable to one specific, regulation-heavy trade and grown outward from there.

The risks

The takeaway

Marg ERP’s clearest lesson is about the difference between capital and control. The company survived and grew for three decades by staying narrow — one difficult, regulation-heavy trade, done thoroughly — rather than chasing the broad small-business market where Tally was already entrenched. But its most consequential decision of the last five years was not a product call at all. It was choosing, and then unwinding, a strategic shareholder whose own ambitions sat too close to Marg’s customer base for the founders’ comfort. The founders’ willingness to buy back nearly half their own company rather than stay tied to a partner they judged to be pulling them off course is the part of this story worth remembering: growth capital is not neutral, and who sits on your cap table can matter more than how much they paid to get there.

Frequently asked questions

What does Marg ERP actually sell?

GST billing, accounting and inventory management software built primarily for pharmaceutical distributors, chemists and FMCG wholesalers, plus a separate HR and payroll product (MargHR) sold across industries.

Is Marg ERP the company listed on the stock exchange as “MARG”?

No. The ticker MARG on the BSE and NSE belongs to MARG Limited, an unrelated infrastructure and construction company. Marg ERP Limited, the software business covered here, is privately held and not listed.

Who owns Marg ERP today?

Founders Thakur Anup Singh, Mahender Singh and Sudhir Singh hold full ownership again after repurchasing a 49.17% stake from API Holdings in February 2025. Private equity firm Jashvik Capital became a minority investor in August 2025 after putting in over ₹400 crore.

How big is Marg ERP’s business?

Independent corporate-data aggregators put FY25 (year to March 2025) revenue in the ₹75-100 crore range, up roughly 19% year-on-year, with 375 employees as of April 2026. The company has not published audited figures publicly.

Why did API Holdings sell its stake back to Marg’s founders?

Public reporting does not give API Holdings’ side in detail. Marg’s founders have said the four-year partnership, built to link Marg with PharmEasy-linked platforms, ended up restricting how they could serve distributors and retailers, prompting the February 2025 buyback.

Sources

Figures are as of September 2026. Currency converted at $1 ≈ ₹96.0 as of 18 September 2026 (Trading Economics).

Found an error? Write to us and we’ll correct it in the open, dated, on the piece.

Exit mobile version