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.
- October 2021-October 2022: API Holdings (parent of PharmEasy and Thyrocare) acquired a stake that grew to 49.17% in Marg ERP, aiming to link Marg’s distributor base to its own pharma platforms (company statements; Lincoln International, which advised on the sale, and API Holdings’ own “Our Story” page).
- February 2025: Founders repurchased that entire 49.17% stake from API Holdings, regaining full ownership; deal value undisclosed (reported by Entrepreneur India and M&A Critique, both August 2025).
- 31 July 2025: Jashvik Capital invested over ₹400 crore (~$41.7 million) in Marg ERP — its fourth deal from a roughly $350 million maiden fund — to fund product development and domestic and international expansion (M&A Critique; Entrepreneur India; Venture Intelligence, all August 2025).
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.
- Perpetual licence fee: a one-time payment for the desktop ERP, tiered by user count and feature set — editions have listed at roughly ₹8,100 for a single-user Basic edition up to about ₹25,200 for a five-user, multi-branch Gold edition (as per pricing published by IT reseller ITforSME, 2026).
- Annual maintenance contract (AMC): a recurring fee, reported at roughly ₹2,000-5,000 a year depending on edition, covering updates, GST-return changes and support — this is the closest thing Marg has to recurring SaaS-style revenue on its legacy base (ITforSME, 2026).
- Cloud/SaaS tier: a per-user monthly subscription, listed at around ₹999 per user per month, for businesses that want hosted access instead of a one-time licence (ITforSME, 2026).
- Adjacent products: MargHR/MargHRMS is sold as a separate payroll and attendance product across industries, widening the revenue base beyond pharma distribution alone.
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.
- Pharma distribution and retail pharmacy: the founding vertical and still the anchor — Marg says its software is used by roughly half of India’s pharmaceutical distribution and retail trade by count of businesses (company statement cited by Entrepreneur India, August 2025), a figure echoed by third-party technology-market tracker 6sense, which separately puts Marg’s share of the pharma/FMCG ERP segment above 50%.
- FMCG wholesale and general retail: a secondary but explicitly targeted segment, using the same core billing and inventory engine adapted for non-pharma stock.
- HR and payroll (MargHR/MargHRMS): a cross-industry product sold independently of the core ERP, extending Marg’s revenue beyond any single trade vertical.
- Scale claims, and why they differ: the company’s own marketing pages claim more than 1 million users historically; the more recent, deal-linked disclosure around the Jashvik Capital investment cites over 500,000 active subscribers (Entrepreneur India, August 2025). The gap is most likely lifetime installed base versus currently active, paying subscribers — both figures are reported here rather than reconciled, since neither side has published a methodology.
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
- Vertical concentration in a regulated trade: with roughly half its core business tied to pharma distribution and retail, Marg’s fortunes move with pharmaceutical-sector regulation and GST policy. The company’s own history shows this cuts both ways — Marg said it moved to make 100% of its existing customer base GST-compliant within a week of the 2017 GST rollout, a change that drove a wave of demand for compliance software across the sector (DNA India; BusinessToday, both July 2017). A future simplification of GST filing, or a rival vertical player, could just as easily erode that same concentrated base.
- Strategic-investor entanglement: the API Holdings episode is a documented governance risk, not a hypothetical one. The founders’ own account, posted publicly after the buyback, was that the partnership “restricted their ability to serve distributors and retailers as originally envisioned” — a direct acknowledgement that having a shareholder with its own competing distribution ambitions (Retailio, Redbook, PharmEasy) constrained a business that needs to stay neutral across every distributor it serves. Any future strategic investor with adjacent commercial interests would carry the same structural risk.
- A legacy core sitting inside a cloud-first market: Marg’s primary product is still sold predominantly as a one-time-licence desktop application, with cloud access priced as a separate, higher-cost add-on (around ₹999 per user per month, per ITforSME’s 2026 pricing breakdown) rather than being cloud-native by default. Cloud-first rivals built for smaller businesses could compete away price-sensitive, newer customers at the low end even as Marg holds its entrenched pharma base.
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).
- YourStory, SMBStory — “Trio that started up with empty pockets and office under a tree”, 2026
- Zee News, Companies — “From under a tree to challenging Tally’s dominance”, 2024 (accessed September 2026)
- Tofler — Marg Erp Limited company financial profile, accessed September 2026
- Tracxn — Marg Erp Limited company profile and financials, accessed September 2026
- Entrepreneur India — “Jashvik Capital Commits Over INR 400 Cr to Marg ERP for Digital Push in Pharma and Healthcare”, August 2025
- M&A Critique — “Jashvik Capital acquires Rs 400 crore stake in Marg ERP”, August 2025
- Venture Intelligence — “S’ware provider for pharma cos. Marg ERP raises Rs.400-Cr from Jashvik Capital”, August 2025
- Lincoln International — “MargERP Limited has sold a significant minority stake to API Holdings Limited”, 2021 (accessed September 2026)
- API Holdings — “Our Story”, accessed September 2026
- LinkedIn — post by Thakur Anup Singh on the API Holdings stake buyback, 2025
- 6sense — Marg ERP market-share and category-comparison data, 2026
- DNA India — “Marg ERP equips customers with GST billing technology”, July 2017
- BusinessToday — “GST roll-out gives life to tech cottage industry for compliance”, June 2017
- ITforSME — “Marg ERP Price India 2026 — One-Time Cost Plus Yearly AMC”, 2026
- Business Standard / PRNewswire — Guinness World Record certification for Marg ERP’s webinar, October 2020
Found an error? Write to us and we’ll correct it in the open, dated, on the piece.

