| Dec 31, 2015 | Dec 31, 2016 | Dec 31, 2017 | Dec 31, 2018 | Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Subscription solutions | - | - | - | - | - | - | - | - | 2,350 |
|---|
| Service | - | - | - | - | - | - | - | - | 6,530 |
|---|
| Revenues | 205 | 389 | 673 | 1,073 | 2,929 | 4,612 | 5,600 | 7,060 | 8,880 |
|---|
| Subscription solutions | - | - | - | 101 | 194 | 264 | 331 | 354 | 434 |
|---|
| Service | - | - | - | 376 | 1,194 | 1,866 | 2,515 | 3,191 | 3,974 |
|---|
| Cost of revenues | - | - | - | 477 | 1,388 | 2,131 | 2,846 | 3,545 | 4,408 |
|---|
| Gross profit | 111 | 209 | 380 | 596 | 1,542 | 2,481 | 2,754 | 3,515 | 4,472 |
|---|
| Sales and marketing | 70 | 129 | 226 | 350 | 602 | 902 | 1,230 | 1,220 | 1,393 |
|---|
| Research and development | 40 | 74 | 136 | 231 | 552 | 854 | 1,503 | 1,730 | 1,367 |
|---|
| General and administrative | 19 | 43 | 68 | 107 | 245 | 375 | 708 | 491 | 410 |
|---|
| Transaction and loan losses | - | - | - | - | 52 | 82 | 135 | 152 | 227 |
|---|
| Impairment on sales of Shopify's logistics businesses | - | - | - | - | - | - | - | 1,340 | - |
|---|
| Total operating expenses | 129 | 247 | 429 | 688 | 1,451 | 2,213 | 3,576 | 4,933 | 3,397 |
|---|
| Income (loss) from operations | -18 | -37 | -49 | -92 | 90 | 269 | -822 | -1,418 | 1,075 |
|---|
| Interest income | 0 | 2 | 8 | 29 | 23 | 15 | 79 | 241 | 308 |
|---|
| Equity Method And Other Investments, Realized Gain | - | - | - | - | - | - | 124 | -5 | 3 |
|---|
| Net unrealized gain (loss) on equity and other investments | - | - | - | - | 135 | 2,860 | -2,998 | 1,424 | 988 |
|---|
| Net loss on equity method investment | - | - | - | - | - | - | - | -58 | -138 |
|---|
| Foreign exchange (loss) gain | -1 | 0 | 1 | -2 | 1 | 0 | -2 | 1 | -8 |
|---|
| Total other income (expense), net | -1 | 2 | 9 | 27 | 150 | 2,872 | -2,801 | 1,603 | 1,153 |
|---|
| Income before income taxes | - | - | - | - | 240 | 3,141 | -3,623 | 185 | 2,228 |
|---|
| (Provision for) recovery of income taxes | - | - | - | - | -79 | 226 | -162 | 53 | 209 |
|---|
| Net income (loss) | -19 | -35 | -40 | -65 | 320 | 2,915 | -3,460 | 132 | 2,019 |
|---|
| Earnings Per Share, Basic | - | - | - | - | 2.67 | 23.38 | -2.73 | 0.1 | 1.57 |
|---|
| Earnings Per Share, Diluted | - | - | - | - | 2.59 | 22.9 | -2.73 | 0.1 | 1.55 |
|---|
| Unrealized (loss) gain on cash flow hedges | - | - | - | - | - | -20 | -10 | 20 | -19 |
|---|
| Tax effect on unrealized (loss) gain on cash flow hedges | - | - | - | - | - | -5 | 0 | - | -5 |
|---|
| Total other comprehensive (loss) income | - | - | - | - | - | -15 | -10 | 20 | -14 |
|---|
| Comprehensive income (loss) | - | -37 | -35 | -80 | 327 | 2,900 | -3,471 | 152 | 2,005 |
|---|