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.
How the cost structure works
What changed in 2025-26
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%.
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.
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.
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
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.
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
- Shopify Inc. (2026), Form 10-K for fiscal 2025, SEC EDGAR
- Shopify Inc. (3 November 2026), Form 10-Q for the quarter ended 30 September 2026, SEC EDGAR
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.










