Shopify Cost Structure: hand-drawn explainer by The Business Engineer

Shopify Cost Structure

Updated November 2026 · reviewed for today
In short

Shopify’s biggest cost is payment processing: most of its cost of revenues is the fees it pays partners to process merchants’ card payments through Shopify Payments. In fiscal 2025 cost of revenues was $6.0 billion on $11.6 billion of revenue, of which $5.5 billion sat in merchant solutions and $520 million in subscription solutions, mainly cloud hosting. Below gross profit come sales and marketing, research and development, and transaction and loan losses.

Shopify Cost Structure: hand-drawn explainer by The Business Engineer
Drawing by The Business Engineer.

How the cost structure works

01
Cost of merchant solutions
The largest cost line, $5.5 billion in fiscal 2025. It rose because higher GMV through Shopify Payments meant higher payment processing fees; Shopify works with Stripe and PayPal as payment service providers.
02
Cost of subscription solutions
A much smaller line, $520 million in fiscal 2025, driven by cloud and infrastructure costs, which rose by $83 million. Shopify runs most platform operations on Google Cloud.
03
Operating expenses
In fiscal 2025 sales and marketing was $1.66 billion, research and development $1.54 billion and general and administrative $471 million.
04
Transaction and loan losses
Expected and actual losses on Shopify Payments, Shop Pay Installments, Shopify Balance and Shopify Capital, mostly from returns and disputes the merchant cannot cover. They reached $417 million in fiscal 2025, up 84%.

What changed in 2025-26

Margin traded for payments growth

Gross profit was 48% of revenue in fiscal 2025, down from 50% in 2024. Shopify explains that lower-margin merchant solutions keep growing faster than subscriptions; Shopify Payments penetration reached 65.6% of GMV in 2025, up from 61.9%.

LLM costs enter the cost base

In the third quarter of 2026 the cost of subscription solutions rose mainly because infrastructure costs, including cloud hosting, infrastructure software and LLM usage, grew by $40 million; over nine months the increase was $99 million.

Operating leverage shows

Third-quarter 2026 revenue was $3.74 billion and income from operations $568 million, up from $343 million a year earlier, as operating expenses grew more slowly than gross profit.

AI features on the platform

Shopify’s 10-K describes Sidekick, its AI commerce assistant, and Agentic Storefronts, which let shoppers discover and buy products through AI platforms. These run on the same cloud and model costs.

Shopify's cost lines in fiscal 2025

Cost of merchant solutions
What drives itPayment processing fees on Shopify Payments GMV
Fiscal 2025$5.5 billion
Cost of subscription solutions
What drives itCloud and infrastructure
Fiscal 2025$520 million
Sales and marketing
What drives itMerchant acquisition and brand
Fiscal 2025$1.66 billion
Research and development
What drives itProduct, platform and AI features
Fiscal 2025$1.54 billion
Transaction and loan losses
What drives itReturns and disputes on payments, lending losses
Fiscal 2025$417 million

What it means for you

  • Read Shopify's gross margin as a mix effect: more payments revenue lowers the percentage while raising gross profit in dollars.
  • Watch transaction and loan losses as Shopify Payments and lending grow; they are a real operating cost.
  • For software builders, note that LLM usage is now named as a driver of infrastructure cost.
  • For merchants, the subscription plan is the small part of what you pay; payment fees scale with your sales.
  • For investors, track MRR, GMV and Payments penetration together each quarter.
The Business Engineer lens

Shopify’s cost structure is that of a payments business wrapped in software: processing fees scale with merchant sales, while software and cloud costs grow more slowly. The Business Engineer’s question for the AI era is whether agentic commerce adds GMV faster than model costs add to infrastructure.

Read: The Agentic AI Commerce Race →Explore everything we publish →

Related: Shopify business model · Shopify revenue · Shopify attach rate · Shopify competitors · Cost structure in the business model canvas

Frequently asked questions

What is Shopify's biggest cost?

Payment processing fees in the cost of merchant solutions, $5.5 billion in fiscal 2025, which rise with the GMV processed through Shopify Payments.

What is Shopify's gross margin?

Gross profit was 48% of revenue in fiscal 2025 and in the third quarter of 2026, down from 50% in 2024.

How much does Shopify spend on R&D?

Research and development was $1.54 billion in fiscal 2025, slightly less than sales and marketing at $1.66 billion.

Does AI add to Shopify's costs?

Yes. Shopify says LLM usage is part of the infrastructure costs that drove higher cost of subscription solutions in 2026.

Sources

The full guide

The complete explainer, cleaned up and reformatted for mobile.

What Is Shopify Cost Structure?

Shopify’s cost structure represents the fixed and variable expenses required to operate its e-commerce platform, serving millions of merchants in more than 175 countries (as of 31 December 2025). The company generates revenue through two primary channels: subscription plans and merchant services, each with distinct cost profiles and gross margins that fundamentally shape profitability.

How Shopify Cost Structure Works

Shopify’s cost structure operates through layered expense categories that directly correlate to revenue generation methods. Each merchant using Shopify incurs platform costs (hosting, security, customer support) regardless of sales volume, while revenue-generating activities like payment processing trigger proportional expenses.

The company’s financial architecture separates cost centers into three primary categories: cost of revenue (COGS), operating expenses (OpEx), and capital expenditures (CapEx). Cost of revenue includes payment processing fees paid to its payment service providers, Stripe and PayPal, cloud infrastructure costs (Shopify runs most platform operations on Google Cloud), customer support operations, and payment fraud prevention. Operating expenses encompass sales and marketing (the largest operating expense line, $1.66 billion in fiscal 2025), research and development for product enhancement, and general administrative overhead. This separation creates clear visibility into which expenses scale with growth and which require strategic investment for competitive positioning.

Scroll to Top
FourWeekMBA