Biggest changeThe following tables provide unaudited reconciliations of Income from continuing operations to Adjusted EBITDA: 2022 (in thousands) Q1 Q2 Q3 Q4 Full Year Income from continuing operations $ 39,048 $ 60,099 $ 78,176 $ 99,018 $ 276,341 Income tax expense from continuing operations 12,083 20,848 28,288 27,644 88,863 Income from continuing operations before income tax 51,131 80,947 106,464 126,662 365,204 Interest expense 30,570 33,153 38,009 44,546 146,278 Depreciation and amortization 72,910 78,181 83,671 84,337 319,099 Currency losses, net 137 (173) 160 762 886 Restructuring costs, lease impairment expense and other related charges 263 (95) — — 168 Transaction costs 13 22 — (10) 25 Integration costs 4,087 5,193 3,902 2,302 15,484 Stock compensation expense 6,273 9,128 7,111 7,101 29,613 Other 2,389 2,287 51 2,390 7,117 Adjusted EBITDA from continuing operations 167,773 208,643 239,368 268,090 883,874 Adjusted EBITDA from discontinued operations 24,050 24,693 25,045 11,989 85,750 Adjusted EBITDA from continuing and discontinued operations $ 191,823 $ 233,336 $ 264,413 $ 280,079 $ 969,624 50 2021 (in thousands) Q1 Q2 Q3 Q4 Full Year (Loss) income from continuing operations $ (6,147) $ 10,050 $ 48,580 $ 62,412 $ 114,895 Income tax expense from continuing operations 7,302 15,803 3,130 10,293 36,528 (Loss) income from continuing operations before income tax 1,155 25,853 51,710 72,705 151,423 Loss on extinguishment of debt 3,185 2,814 — — 5,999 Interest expense 29,567 28,802 28,798 29,191 116,358 Fair value (gain) loss on common stock warrant liabilities 27,207 (610) — — 26,597 Depreciation and amortization 67,163 74,673 66,775 71,956 280,567 Currency losses (gains), net 37 41 8 341 427 Restructuring costs, lease impairment expense and other related charges 4,393 7,434 2,457 470 14,754 Transaction costs 844 — 303 228 1,375 Integration costs 7,342 7,622 8,242 5,204 28,410 Stock compensation expense 3,494 4,641 6,138 4,455 18,728 Other (694) 1,801 1,517 2,342 4,966 Adjusted EBITDA from continuing operations 143,693 153,071 165,948 186,892 649,604 Adjusted EBITDA from discontinued operations 19,892 22,424 24,201 24,272 90,789 Adjusted EBITDA from continuing and discontinued operations $ 163,585 $ 175,495 $ 190,149 $ 211,164 $ 740,393 The following tables provide unaudited reconciliations of Income (loss) from discontinued operations to Adjusted EBITDA: 2022 (in thousands) Q1 Q2 Q3 Q4 Full Year Income (loss) from discontinued operations $ 12,123 $ 13,277 $ 50,417 $ (12,618) $ 63,199 Gain on sale of discontinued operations — — 34,049 1,407 35,456 Income tax expense from discontinued operations 3,664 3,863 3,917 24,281 35,725 Income from discontinued operations before income tax and gain on sale 15,787 17,140 20,285 10,256 63,468 Interest expense 422 422 299 158 1,301 Depreciation and amortization 7,771 9,188 5,650 1,799 24,408 Currency losses, net 1 46 76 15 138 Stock compensation expense 122 164 (151) 80 215 Other (53) (2,267) (1,114) (319) (3,780) Adjusted EBITDA from discontinued operations $ 24,050 $ 24,693 $ 25,045 $ 11,989 $ 85,750 51 2021 (in thousands) Q1 Q2 Q3 Q4 Full Year Income from discontinued operations $ 10,594 $ 10,321 $ 12,523 $ 11,811 $ 45,249 Income tax expense from discontinued operations 3,179 3,025 3,514 3,300 13,018 Income from discontinued operations before income tax and gain on sale 13,773 13,346 16,037 15,111 58,267 Interest expense 397 410 403 419 1,629 Depreciation and amortization 6,859 9,842 8,501 9,798 35,000 Currency losses, net (1) (8) 119 11 121 Restructuring costs, lease impairment expense and other related charges 2 — — — 2 Integration costs — — 5 9 14 Stock compensation expense 20 66 121 54 261 Other (1,158) (1,232) (985) (1,130) (4,505) Adjusted EBITDA from discontinued operations $ 19,892 $ 22,424 $ 24,201 $ 24,272 $ 90,789 Adjusted EBITDA Margin We define Adjusted EBITDA Margin as Adjusted EBITDA divided by revenue.
Biggest changeBecause of these limitations, Adjusted EBITDA should not be considered as discretionary cash available to reinvest in the growth of our business or as a measure of cash that will be available to meet our obligations. 52 The following table provides unaudited reconciliations of Income from continuing operations to Adjusted EBITDA: Year Ended December 31, (in thousands) 2023 2022 2021 Income from continuing operations $ 341,844 $ 276,341 $ 114,895 Income tax expense from continuing operations 126,575 88,863 36,528 Income from continuing operations before income tax 468,419 365,204 151,423 Loss on extinguishment of debt — — 5,999 Interest expense 205,040 146,278 116,358 Fair value loss on common stock warrant liabilities — — 26,597 Depreciation and amortization 338,654 319,099 280,567 Currency losses, net 6,754 886 427 Restructuring costs, lease impairment expense and other related charges 22 168 14,754 Transaction costs 2,259 25 1,375 Integration costs 10,366 15,484 28,410 Stock compensation expense 34,486 29,613 18,728 Other (4,535) 7,117 4,966 Adjusted EBITDA from continuing operations 1,061,465 883,874 649,604 Adjusted EBITDA from discontinued operations 4,124 85,750 90,789 Adjusted EBITDA from continuing and discontinued operations $ 1,065,589 $ 969,624 $ 740,393 The following table provides unaudited reconciliations of Income from discontinued operations to Adjusted EBITDA: Year Ended December 31, (in thousands) 2023 2022 2021 Income from discontinued operations $ 134,243 $ 63,199 $ 45,249 Gain on sale of discontinued operations 175,708 35,456 — Income tax expense from discontinued operations 45,468 35,725 13,018 Income from discontinued operations before income tax and gain on sale 4,003 63,468 58,267 Interest expense 56 1,301 1,629 Depreciation and amortization — 24,408 35,000 Currency losses, net — 138 121 Restructuring costs, lease impairment expense and other related charges — — 2 Integration costs — — 14 Stock compensation expense (196) 215 261 Other 261 (3,780) (4,505) Adjusted EBITDA from discontinued operations $ 4,124 $ 85,750 $ 90,789 53 Adjusted EBITDA Margin We define Adjusted EBITDA Margin as Adjusted EBITDA divided by revenue.
The following summarizes our change in cash and cash equivalents for the periods presented: Year Ended December 31, (in thousands) 2022 2021 2020 Net cash from operating activities $ 744,658 $ 539,902 $ 304,812 Net cash from investing activities (309,333) (384,047) (125,360) Net cash from financing activities (429,368) (167,887) (158,958) Effect of exchange rate changes on cash and cash equivalents (882) (206) 1398 Net change in cash and cash equivalents $ 5,075 $ (12,238) $ 21,892 Comparison of the Years Ended December 31, 2022 and 2021 and December 31, 2021 and 2020 Cash Flows from operating activities Cash provided by operating activities for the year ended December 31, 2022 was $744.7 million as compared to $539.9 million for the year ended December 31, 2021, an increase of $204.8 million, or 38%.
The following summarizes our change in cash and cash equivalents for the periods presented: Year Ended December 31, (in thousands) 2023 2022 2021 Net cash from operating activities $ 761,240 $ 744,658 $ 539,902 Net cash from investing activities (350,003) (309,333) (384,047) Net cash from financing activities (418,935) (429,368) (167,887) Effect of exchange rate changes on cash and cash equivalents 882 (882) (206) Net change in cash and cash equivalents $ (6,816) $ 5,075 $ (12,238) Comparison of the Years Ended December 31, 2023 and 2022 and December 31, 2022 and 2021 Cash Flows from operating activities Cash provided by operating activities for the year ended December 31, 2023 was $761.2 million as compared to $744.7 million for the year ended December 31, 2022, an increase of $16.6 million, or 2%.
Years Ended December 31, 2022 vs. 2021 Change 2021 vs 2020 Change 2022 2021 2020 Revenues: Leasing and services revenue: Leasing $ 1,621,690 $ 1,252,490 $ 936,458 $ 369,200 $ 316,032 Delivery and installation 429,152 321,129 250,734 108,023 70,395 Sales revenue: New units 40,338 46,993 48,834 (6,655) (1,841) Rental units 51,443 52,368 36,965 (925) 15,403 Total revenues 2,142,623 1,672,980 1,272,991 469,643 399,989 Costs: Costs of leasing and services: Leasing 376,868 282,576 214,367 94,292 68,209 Delivery and installation 322,636 267,533 202,734 55,103 64,799 Costs of sales: New units 24,011 31,348 31,799 (7,337) (451) Rental units 26,907 28,030 23,474 (1,123) 4,556 Depreciation of rental equipment 256,719 218,790 192,190 37,929 26,600 Gross profit 1,135,482 844,703 608,427 290,779 236,276 Expenses: Selling, general and administrative 567,214 464,278 338,395 102,936 125,883 Transaction costs 25 1,375 64,053 (1,350) (62,678) Other depreciation and amortization 62,380 61,777 35,181 603 26,596 Lease impairment expense and other related charges 254 2,888 4,876 (2,634) (1,988) Restructuring costs (86) 11,866 6,109 (11,952) 5,757 Currency losses (gains), net 886 427 (257) 459 684 Other (income) expense, net (6,673) 1,715 (1,722) (8,388) 3,437 Operating income 511,482 300,377 161,792 211,105 138,585 Interest expense 146,278 116,358 119,319 29,920 (2,961) Fair value loss (gain) on common stock warrant liabilities — 26,597 (3,461) (26,597) 30,058 Loss on extinguishment of debt — 5,999 42,401 (5,999) (36,402) Income from continuing operations before income tax 365,204 151,423 3,533 213,781 147,890 Income tax expense (benefit) from continuing operations 88,863 36,528 (56,040) 52,335 92,568 Income from continuing operations 276,341 114,895 59,573 161,446 55,322 Income from continuing operations attributable to non-controlling interest, net of tax — — 1,213 — (1,213) Income from continuing operations attributable to WillScot Mobile Mini common shareholders $ 276,341 $ 114,895 $ 58,360 $ 161,446 $ 56,535 41 Cash Flow Data: Net cash from operating activities $ 744,658 $ 539,902 $ 304,812 $ 204,756 $ 235,090 Net cash from investing activities $ (309,333) $ (384,047) $ (125,360) $ 74,714 $ (258,687) Net cash from financing activities $ (429,368) $ (167,887) $ (158,958) $ (261,481) $ (8,929) Other Financial Data: Adjusted EBITDA from continuing operations (a) $ 883,874 $ 649,604 $ 494,642 $ 234,270 $ 154,962 Adjusted EBITDA from discontinued operations (a) 85,750 90,789 35,665 (5,039) 55,124 Adjusted EBITDA from continuing and discontinued operations (a) $ 969,624 $ 740,393 $ 530,307 $ 229,231 $ 210,086 Free Cash Flow (a) $ 330,334 $ 303,027 $ 162,279 $ 27,307 $ 140,748 Adjusted Gross Profit (a) $ 1,392,201 $ 1,063,493 $ 800,617 $ 328,708 $ 262,876 Net CAPEX (a) $ 414,324 $ 236,875 $ 142,533 $ 177,449 $ 94,342 Balance Sheet Data (end of year): Cash and cash equivalents $ 7,390 $ 6,393 $ 5,635 $ 997 $ 758 Rental equipment, net $ 3,077,287 $ 2,777,800 $ 2,651,720 $ 299,487 $ 126,080 Total assets $ 5,827,651 $ 5,773,599 $ 5,572,205 $ 54,052 $ 201,394 Total debt, excluding current portion $ 3,063,042 $ 2,671,831 $ 2,435,199 $ 391,211 $ 236,632 Total shareholders’ equity $ 1,565,300 $ 1,996,763 $ 2,063,873 $ (431,463) $ (67,110) (a) WillScot Mobile Mini presen ts Adjusted EBITDA, F ree Cash Flow, Adjusted Gross Profit and Net CAPEX, which are measurements not calculated in accordance with GAAP and are defined below in the section "Reconciliation of non-GAAP Financial Measures," because they are key metrics used by management to assess financial performance.
Years Ended December 31, 2023 vs. 2022 Change 2022 vs 2021 Change 2023 2022 2021 Revenues: Leasing and services revenue: Leasing $ 1,833,935 $ 1,621,690 $ 1,252,490 $ 212,245 $ 369,200 Delivery and installation 437,179 429,152 321,129 8,027 108,023 Sales revenue: New units 48,129 40,338 46,993 7,791 (6,655) Rental units 45,524 51,443 52,368 (5,919) (925) Total revenues 2,364,767 2,142,623 1,672,980 222,144 469,643 Costs: Costs of leasing and services: Leasing 398,467 376,868 282,576 21,599 94,292 Delivery and installation 317,117 322,636 267,533 (5,519) 55,103 Costs of sales: New units 26,439 24,011 31,348 2,428 (7,337) Rental units 23,141 26,907 28,030 (3,766) (1,123) Depreciation of rental equipment 265,733 256,719 218,790 9,014 37,929 Gross profit 1,333,870 1,135,482 844,703 198,388 290,779 Expenses: Selling, general and administrative 596,090 567,407 480,407 28,683 87,000 Other depreciation and amortization 72,921 62,380 61,777 10,541 603 Currency losses, net 6,754 886 427 5,868 459 Other (income) expense, net (15,354) (6,673) 1,715 (8,681) (8,388) Operating income 673,459 511,482 300,377 161,977 211,105 Interest expense 205,040 146,278 116,358 58,762 29,920 Fair value loss on common stock warrant liabilities — — 26,597 — (26,597) Loss on extinguishment of debt — — 5,999 — (5,999) Income from continuing operations before income tax 468,419 365,204 151,423 103,215 213,781 Income tax expense from continuing operations 126,575 88,863 36,528 37,712 52,335 Income from continuing operations 341,844 276,341 114,895 65,503 161,446 Discontinued operations: Income from discontinued operations before income tax 4,003 63,468 58,267 (59,465) 5,201 Income tax expense from discontinued operations 45,468 35,725 13,018 9,743 22,707 Gain on sale of discontinued operations 176,078 35,456 — 140,622 35,456 Income from discontinued operations 134,613 63,199 45,249 71,414 17,950 Net income $ 476,457 $ 339,540 $ 160,144 $ 136,917 $ 179,396 44 Cash Flow Data: Net cash from operating activities $ 761,240 $ 744,658 $ 539,902 $ 16,582 $ 204,756 Net cash from investing activities $ (350,003) $ (309,333) $ (384,047) $ (40,670) $ 74,714 Net cash from financing activities $ (418,935) $ (429,368) $ (167,887) $ 10,433 $ (261,481) Other Financial Data: Adjusted EBITDA from continuing operations (a) $ 1,061,465 $ 883,874 $ 649,604 $ 177,591 $ 234,270 Adjusted EBITDA from discontinued operations (a) 4,124 85,750 90,789 (81,626) (5,039) Adjusted EBITDA from continuing and discontinued operations (a) $ 1,065,589 $ 969,624 $ 740,393 $ 95,965 $ 229,231 Free Cash Flow (a) $ 576,589 $ 330,334 $ 303,027 $ 246,255 $ 27,307 Adjusted Gross Profit (a) $ 1,599,603 $ 1,392,201 $ 1,063,493 $ 207,402 $ 328,708 Net CAPEX (a) $ 184,651 $ 414,324 $ 236,875 $ (229,673) $ 177,449 Balance Sheet Data (end of year): Cash and cash equivalents $ 10,958 $ 7,390 $ 6,393 $ 3,568 $ 997 Rental equipment, net $ 3,381,315 $ 3,077,287 $ 2,777,800 $ 304,028 $ 299,487 Total assets $ 6,137,915 $ 5,827,651 $ 5,773,599 $ 310,264 $ 54,052 Long-term debt $ 3,538,516 $ 3,063,042 $ 2,671,831 $ 475,474 $ 391,211 Total shareholders’ equity $ 1,261,250 $ 1,565,300 $ 1,996,763 $ (304,050) $ (431,463) (a) WillScot Mobile Mini presen ts Adjusted EBITDA, F ree Cash Flow, Adjusted Gross Profit and Net CAPEX, which are measurements not calculated in accordance with GAAP and are defined below in the section "Reconciliation of non-GAAP Financial Measures," because they are key metrics used by management to assess financial performance.