Biggest changeThe following table presents a reconciliation of net income (loss) to adjusted EBITDA: Fiscal Year Ended October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 September 29, 2018 (In thousands, except percentages) Net income (loss) $ 67,383 $ 158,595 $ (20,115 ) $ (4,766 ) $ (15,604 ) Depreciation and amortization 38,504 33,882 36,426 36,415 39,358 Stock-based compensation expense 75,640 62,127 57,610 46,575 38,645 Interest income (1,655 ) (146 ) (1,998 ) (4,349 ) (731 ) Interest expense 552 592 1,487 2,499 5,242 Other (income) expense, net 21,905 (2,407 ) (6,639 ) 8,625 1,162 Provision for (benefit from) income taxes 1,347 (1,670 ) 32 3,690 1,056 Restructuring and related expenses — (2,446 ) 26,285 — — Legal and transaction related costs (1) 22,873 30,058 15,455 — — Adjusted EBITDA $ 226,549 $ 278,585 $ 108,543 $ 88,689 $ 69,128 Revenue 1,752,336 1,716,744 1,326,328 1,260,823 1,137,008 Adjusted EBITDA margin 12.9 % 16.2 % 8.2 % 7.0 % 6.1 % (1) Legal and transaction-related costs consist of expenses related to our intellectual property ("IP") litigation against Alphabet and Google as well as legal and transaction costs associated with our acquisition activities, which we do not consider representative of our underlying operating performance. 36 Table of contents Comparison of Fiscal Years 2022 and 2021 Revenue Fiscal Year Ended Change from Prior Fiscal Year October 1, 2022 October 2, 2021 $ % (Dollars in thousands) Sonos speakers $ 1,368,916 $ 1,378,808 $ (9,892 ) (0.7 )% Sonos system products 297,110 265,180 31,930 12.0 Partner products and other revenue 86,310 72,756 13,554 18.6 Total revenue $ 1,752,336 $ 1,716,744 $ 35,592 2.1 % Volume data (products sold in thousands) Units % Total products sold 6,281 6,503 (222 ) (3.4 )% Total revenue increased 2.1% for fiscal 2022, compared to fiscal 2021.
Biggest changeThe following table presents a reconciliation of net income (loss) to adjusted EBITDA: Fiscal Year Ended September 30, 2023 October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 (In thousands, except percentages) Net income (loss) $ (10,274 ) $ 67,383 $ 158,595 $ (20,115 ) $ (4,766 ) Add (deduct): Depreciation and amortization 48,969 38,504 33,882 36,426 36,415 Stock-based compensation expense 76,857 75,640 62,127 57,610 46,575 Interest income (10,201 ) (1,655 ) (146 ) (1,998 ) (4,349 ) Interest expense 733 552 592 1,487 2,499 Other (income) expense, net (15,473 ) 21,905 (2,407 ) (6,639 ) 8,625 Provision for (benefit from) income taxes 14,668 1,347 (1,670 ) 32 3,690 Legal and transaction related costs (1) 32,950 22,873 30,058 15,455 — Restructuring, abandonment, and related expenses (2) 15,649 — (2,446 ) 26,285 — Adjusted EBITDA $ 153,878 $ 226,549 $ 278,585 $ 108,543 $ 88,689 Revenue 1,655,255 1,752,336 1,716,744 1,326,328 1,260,823 Net income (loss) margin (0.6 )% 3.8 % 9.2 % (1.5 )% (0.4 )% Adjusted EBITDA margin 9.3 % 12.9 % 16.2 % 8.2 % 7.0 % (1) Legal and transaction-related costs consist of expenses related to our intellectual property ("IP") litigation against Alphabet and Google as well as legal and transaction costs associated with our acquisition activities, which we do not consider representative of our underlying operating performance.
We define adjusted EBITDA as net income (loss) adjusted to exclude the impact of depreciation, stock-based compensation expense, interest income, interest expense, other income (expense), income taxes and other items that we do not consider representative of underlying operating performance. We define adjusted EBITDA margin as adjusted EBITDA divided by revenue.
We define adjusted EBITDA as net income (loss) adjusted to exclude the impact of depreciation and amortization, stock-based compensation expense, interest income, interest expense, other income (expense), income taxes, and other items that we do not consider representative of underlying operating performance. We define adjusted EBITDA margin as adjusted EBITDA divided by revenue.
We generate revenue from the sale of our Sonos speaker products, including wireless speakers and home theater speakers, from our Sonos system products, which largely comprises our component products, and from partner products and other revenue, including partnerships with IKEA and Sonance, Sonos and third-party accessories, licensing, and advertising revenue.
We generate revenue from the sale of our Sonos speaker products, including wireless speakers and home theater speakers, from our Sonos system products, which largely comprises our component products, and from partner products and other revenue, including partnerships with IKEA and Sonance, Sonos and third-party accessories, licensing, advertising, and subscription revenue.
We also generate a small portion of revenue from partner products and other revenue sources, such as module revenue from our IKEA partnership, architectural speakers from our Sonance partnership, and accessories such as speaker stands and wall mounts, as well as professional services, licensing and advertising revenue.
We also generate a portion of revenue from Partner products and other revenue sources, such as module revenue from our IKEA partnership, architectural speakers from our Sonance partnership, and accessories such as speaker stands and wall mounts, as well as professional services, licensing, advertising, and subscription revenue.
See the section titled "Results of Operations —Non-GAAP Financial Measures" for information regarding our use of adjusted EBITDA and adjusted EBITDA margin, and a reconciliation of net income (loss) to adjusted EBITDA. Components of Results of Operations Revenue We generate substantially all of our revenue from the sale of Sonos speakers and Sonos system products.
See the section titled "Results of Operations —Non-GAAP Financial Measures" for information regarding our use of adjusted EBITDA and adjusted EBITDA margin, and a reconciliation of net income (loss) to adjusted EBITDA and net income (loss) margin to adjusted EBITDA margin. 30 Table of contents Components of Results of Operations Revenue We generate substantially all of our revenue from the sale of Sonos speakers and Sonos system products.
These limitations include that the non-GAAP financial measures: • exclude depreciation and amortization, and although these are non-cash expenses, the assets being depreciated may be replaced in the future; • exclude stock-based compensation expense, which has been, and will continue to be, a significant recurring expense for our business and an important part of our compensation strategy; • do not reflect interest income, primarily resulting from interest income earned on our cash and cash equivalent balances; • do not reflect interest expense, or the cash requirements necessary to service interest or principal payments on our debt, which reduces cash available to us; • do not reflect the effect of foreign currency exchange gains or losses, which is included in other income (expense), net; • do not reflect the provision for or benefit from income tax that may result in payments that reduce cash available to us; • do not reflect items that are not considered representative of our underlying operating performance which reduce cash available to us; and • may not be comparable to similar non-GAAP financial measures used by other companies, because the expenses and other items that we exclude in our calculation of these non-GAAP financial measures may differ from the expenses and other items, if any, that other companies may exclude from these non-GAAP financial measures when they report their operating results.
These limitations include that the non-GAAP financial measures: • exclude depreciation and amortization, and although these are non-cash expenses, the assets being depreciated may be replaced in the future; • exclude stock-based compensation expense, which has been, and will continue to be, a significant recurring expense for our business and an important part of our compensation strategy; • do not reflect interest income, primarily resulting from interest income earned on our cash and cash equivalent balances; • do not reflect interest expense, or the cash requirements necessary to service interest or principal payments on our debt, which reduces cash available to us; • do not reflect the effect of foreign currency exchange gains or losses, which is included in other income (expense), net; • do not reflect the provision for or benefit from income tax that may result in payments that reduce cash available to us; • do not reflect items that are not considered representative of our underlying operating performance which reduce cash available to us; and • may not be comparable to similar non-GAAP financial measures used by other companies, because the expenses and other items that we exclude in our calculation of these non-GAAP financial measures may differ from the expenses and other items, if any, that other companies may exclude from these non-GAAP financial measures when they report their operating results. 34 Table of contents Because of these limitations, these non-GAAP financial measures should be considered along with other operating and financial performance measures presented in accordance with U.S.
Fiscal 2021 Changes in Cash Flows For the comparison of fiscal 2021 to fiscal 2020, refer to Part II, Item 7 "Management's discussion and analysis of financial condition and results of operations" of our Form 10-K for our fiscal year ended October 2, 2021, filed with the SEC on November 22, 2021, under the subheading "Liquidity and capital resources." Contractual obligations See Note 6.
Fiscal 2022 Changes in Cash Flows For the comparison of fiscal 2022 to fiscal 2021, refer to Part II, Item 7 "Management's discussion and analysis of financial condition and results of operations" of our Form 10-K for our fiscal year ended October 1, 2022, filed with the SEC on November 23, 2022, under the subheading "Liquidity and capital resources." Contractual obligations See Note 6.
Results of Operations The consolidated statements of operations data for fiscal years 2022, 2021, and 2020, and the consolidated balance sheet data as of October 1, 2022, and October 2, 2021, are derived from our audited consolidated financial statements appearing in Item 8, "Financial Statements and Supplementary Data," of this Annual Report on Form 10-K.
Results of Operations The consolidated statements of operations data for fiscal years 2023, 2022, and 2021, and the consolidated balance sheet data as of September 30, 2023, and October 1, 2022, are derived from our audited consolidated financial statements appearing in Item 8, "Financial Statements and Supplementary Data," of this Annual Report on Form 10-K.
The Revolving Credit Agreement contains customary representations and warranties, customary affirmative and negative covenants, a financial covenant that is tested quarterly and requires us to maintain a certain consolidated leverage ratio, and customary events of default. As of October 1, 2022, we were in compliance with all financial covenants under the Revolving Credit Agreement.
The Revolving Credit Agreement contains customary representations and warranties, customary affirmative and negative covenants, a financial covenant that is tested quarterly and requires us to maintain a certain consolidated leverage ratio, and customary events of default. As of September 30, 2023, we were in compliance with all financial covenants under the Revolving Credit Agreement.
We also generate a portion of revenue from Partner products and other revenue sources, such as module revenue from our IKEA partnership, architectural speakers from our Sonance partnership, and accessories such as speaker stands and wall mounts, as well as professional services, 32 Table of contents licensing, advertising, and subscription revenue.
We also generate a portion of revenue from Partner products and other revenue sources, such as module revenue from our IKEA partnership, architectural speakers from our Sonance partnership, accessories such as speaker stands and wall mounts, professional services, licensing, and advertising revenue.
We recorded a valuation allowance against all our U.S. deferred tax assets and certain of our foreign deferred tax assets as of October 1, 2022. We intend to continue maintaining a full valuation allowance on our U.S. and certain foreign deferred tax assets until there is sufficient evidence to support the reversal of all or some portion of these allowances.
We recorded a valuation allowance against all our U.S. deferred tax assets and certain of our foreign deferred tax assets as of September 30, 2023. We intend to continue maintaining a full valuation allowance on our U.S. and certain foreign deferred tax assets until there is sufficient evidence to support the reversal of all or some portion of these allowances.
Comparison of Fiscal Years 2021 and 2020 For the comparison of fiscal years 2021 and 2020, refer to Part II, Item 7 "Management's discussion and analysis of financial condition and results of operations" on Form 10-K for our fiscal year ended October 2, 2021, filed with the SEC on November 22, 2021, under the subheading "Comparison of fiscal years 2021 and 2020." Liquidity and Capital Resources Our operations are financed primarily through cash flows from operating activities and net proceeds from the sale of our equity securities.
Comparison of Fiscal Years 2022 and 2021 For the comparison of fiscal years 2022 and 2021, refer to Part II, Item 7 "Management's discussion and analysis of financial condition and results of operations" on Form 10-K for our fiscal year ended October 1, 2022, filed with the SEC on November 23, 2022, under the subheading "Comparison of fiscal years 2022 and 2021." 38 Table of contents Liquidity and Capital Resources Our operations are financed primarily through cash flows from operating activities and net proceeds from the sale of our equity securities.
The consolidated statements of operations data for fiscal years 2019, and 2018, and the consolidated balance sheet data as of October 3, 2020, September 28, 2019, and September 29, 2018, are derived from audited consolidated financial statements not included in this Annual Report on Form 10-K.
The consolidated statements of operations data for fiscal years 2020, and 2019, and the consolidated balance sheet data as of October 2, 2021, October 3, 2020, and September 28, 32 Table of contents 2019, are derived from audited consolidated financial statements not included in this Annual Report on Form 10-K.
Revenue is recognized at the point in time when control is transferred, which is either upon shipment or upon delivery to the customer, depending on delivery terms.
Revenue for products and related software is recognized at the point in time when control is transferred to the customer, which is either upon shipment or upon delivery to the customer, depending on delivery terms.
In accordance with our policy, the undistributed earnings of our non-U.S. subsidiaries remain indefinitely reinvested outside of the United States as of October 1, 2022, as they are required to fund needs outside of the United States.
In accordance with our policy, the undistributed earnings of our non-U.S. subsidiaries remain indefinitely reinvested outside of the United States as of September 30, 2023, as they are required to fund needs outside of the United States.
As of October 1, 2022, we did not have any outstanding borrowings and $3.0 million in undrawn letters of credit that reduce the availability under the Revolving Credit Agreement. Our obligations under the Revolving Credit Agreement are secured by substantially all of our assets.
As of September 30, 2023, we did not have any outstanding borrowings and $1.8 million in undrawn letters of credit that reduce the availability under the Revolving Credit Agreement. Our obligations under the Revolving Credit Agreement are secured by substantially all of our assets.
As of October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 September 29, 2018 (In thousands) Consolidated balance sheet data: Cash and cash equivalents $ 274,855 $ 640,101 $ 407,100 $ 338,641 $ 220,930 Working capital 331,752 481,384 267,362 276,635 201,243 Total assets 1,188,388 1,138,804 816,051 761,605 587,498 Total long-term debt — — 18,251 24,840 33,097 Total liabilities 627,875 569,762 518,212 480,677 379,140 Accumulated deficit (2,514 ) (69,897 ) (228,492 ) (208,377 ) (203,611 ) Total stockholders' equity 560,513 569,042 297,839 280,928 208,358 Non-GAAP Financial Measures To supplement our consolidated financial statements presented in accordance with U.S.
As of September 30, 2023 October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 (In thousands) Consolidated balance sheet data: Cash and cash equivalents $ 220,231 $ 274,855 $ 640,101 $ 407,100 $ 338,641 Working capital 305,413 331,752 481,384 267,362 276,635 Total assets 1,002,241 1,188,388 1,138,804 816,051 761,605 Total long-term debt — — — 18,251 24,840 Total liabilities 483,584 627,875 569,762 518,212 480,677 Accumulated deficit (12,788 ) (2,514 ) (69,897 ) (228,492 ) (208,377 ) Total stockholders' equity 518,657 560,513 569,042 297,839 280,928 Non-GAAP Financial Measures To supplement our consolidated financial statements presented in accordance with U.S.
Fiscal Year Ended October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 September 29, 2018 (4) (In thousands, except share and per share amounts and percentages) Revenue $ 1,752,336 $ 1,716,744 $ 1,326,328 $ 1,260,823 $ 1,137,008 Cost of revenue (1) 955,969 906,750 754,372 733,480 647,700 Gross profit 796,367 809,994 571,956 527,343 489,308 Operating expenses Research and development (1) 256,073 230,078 214,672 171,174 142,109 Sales and marketing (1) 280,333 272,124 263,539 247,599 270,869 General and administrative (1) 170,429 152,828 120,978 102,871 85,205 Total operating expenses 706,835 655,030 599,189 521,644 498,183 Operating income (loss) 89,532 154,964 (27,233 ) 5,699 (8,875 ) Other income (expense), net Interest income 1,655 146 1,998 4,349 731 Interest expense (552 ) (592 ) (1,487 ) (2,499 ) (5,242 ) Other income (expense), net (21,905 ) 2,407 6,639 (8,625 ) (1,162 ) Total other income (expense), net (20,802 ) 1,961 7,150 (6,775 ) (5,673 ) Income (loss) before provision for (benefit from) income taxes 68,730 156,925 (20,083 ) (1,076 ) (14,548 ) Provision for (benefit from) income taxes 1,347 (1,670 ) 32 3,690 1,056 Net income (loss) $ 67,383 $ 158,595 $ (20,115 ) $ (4,766 ) $ (15,604 ) Net income (loss) per share attributable to common stockholders:⁽²⁾ Basic $ 0.53 $ 1.30 $ (0.18 ) $ (0.05 ) $ (0.24 ) Diluted $ 0.49 $ 1.13 $ (0.18 ) $ (0.05 ) $ (0.24 ) Weighted-average shares used in computing net income (loss) per share attributable to common stockholders:⁽²⁾ Basic 127,691,030 122,245,212 109,807,154 103,783,006 65,706,215 34 Table of contents Diluted 137,762,078 140,309,152 109,807,154 103,783,006 65,706,215 Other Data: Products sold (5) 6,281 6,503 5,806 6,204 5,165 Adjusted EBITDA (3) $ 226,549 $ 278,585 $ 108,543 $ 88,689 $ 69,128 Adjusted EBITDA margin (3) 12.9 % 16.2 % 8.2 % 7.0 % 6.1 % (1) Stock-based compensation was allocated as follows: Fiscal Year Ended October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 September 29, 2018 (In thousands) Cost of revenue $ 1,620 $ 988 $ 1,106 $ 985 $ 198 Research and development 30,724 25,075 23,439 17,643 13,960 Sales and marketing 15,335 13,570 14,359 12,965 15,885 General and administrative 27,961 22,494 18,706 14,982 8,602 Total stock-based compensation expense $ 75,640 $ 62,127 $ 57,610 $ 46,575 $ 38,645 (2) See Note 11.
Fiscal Year Ended September 30, 2023 October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 (In thousands, except share and per share amounts and percentages) Revenue $ 1,655,255 $ 1,752,336 $ 1,716,744 $ 1,326,328 $ 1,260,823 Cost of revenue (1) 938,765 955,969 906,750 754,372 733,480 Gross profit 716,490 796,367 809,994 571,956 527,343 Operating expenses Research and development (1) 301,001 256,073 230,078 214,672 171,174 Sales and marketing (1) 267,518 280,333 272,124 263,539 247,599 General and administrative (1) 168,518 170,429 152,828 120,978 102,871 Total operating expenses 737,037 706,835 655,030 599,189 521,644 Operating income (loss) (20,547 ) 89,532 154,964 (27,233 ) 5,699 Other income (expense), net Interest income 10,201 1,655 146 1,998 4,349 Interest expense (733 ) (552 ) (592 ) (1,487 ) (2,499 ) Other income (expense), net 15,473 (21,905 ) 2,407 6,639 (8,625 ) Total other income (expense), net 24,941 (20,802 ) 1,961 7,150 (6,775 ) Income (loss) before provision for (benefit from) income taxes 4,394 68,730 156,925 (20,083 ) (1,076 ) Provision for (benefit from) income taxes 14,668 1,347 (1,670 ) 32 3,690 Net income (loss) $ (10,274 ) $ 67,383 $ 158,595 $ (20,115 ) $ (4,766 ) Net income (loss) per share attributable to common stockholders:⁽²⁾ Basic $ (0.08 ) $ 0.53 $ 1.30 $ (0.18 ) $ (0.05 ) Diluted $ (0.08 ) $ 0.49 $ 1.13 $ (0.18 ) $ (0.05 ) Weighted-average shares used in computing net income (loss) per share attributable to common stockholders:⁽²⁾ Basic 127,702,885 127,691,030 122,245,212 109,807,154 103,783,006 Diluted 127,702,885 137,762,078 140,309,152 109,807,154 103,783,006 Other Data: Products sold (4) 5,725 6,281 6,503 5,806 6,204 Adjusted EBITDA (3) $ 153,878 $ 226,549 $ 278,585 $ 108,543 $ 88,689 Net income (loss) margin (0.6 )% 3.8 % 9.2 % (1.5 )% (0.4 )% Adjusted EBITDA margin (3) 9.3 % 12.9 % 16.2 % 8.2 % 7.0 % (1) Stock-based compensation was allocated as follows: Fiscal Year Ended September 30, 2023 October 1, 2022 October 2, 2021 October 3, 2020 September 28, 2019 (In thousands) Cost of revenue $ 2,038 $ 1,620 $ 988 $ 1,106 $ 985 Research and development 35,530 30,724 25,075 23,439 17,643 Sales and marketing 15,677 15,335 13,570 14,359 12,965 General and administrative 23,612 27,961 22,494 18,706 14,982 Total stock-based compensation expense $ 76,857 $ 75,640 $ 62,127 $ 57,610 $ 46,575 (2) See Note 11.
Actual results could differ materially from those estimates. Our critical accounting policies requiring estimates, assumptions and judgments that we believe have the most significant impact on our consolidated financial statements are described below.
Actual results could differ materially from those estimates. Our critical accounting policies requiring estimates, assumptions and judgments that we believe have the most significant impact on our consolidated financial statements are described below. Revenue Nature of Products and Services We generate substantially all of our revenue from the sale of Sonos speakers and Sonos system products.
Our platform has attracted a broad range of more than 130 streaming content providers, such as Apple Music, Spotify, Deezer, and Pandora. These partners find value in our independent platform and access to our millions of desirable and engaged customers.
We are known for delivering unparalleled sound, thoughtful design aesthetic, simplicity of use, and an open platform. Our platform has attracted a broad range of more than 130 streaming content providers, such as Apple Music, Spotify, Deezer, and Pandora. These partners find value in our independent platform and access to our millions of desirable and engaged customers.
To establish an estimate for returns, we use the expected value method by considering a portfolio of contracts with similar characteristics to calculate the historical returns rate. When determining the expected value of returns, we consider future business initiatives and relevant anticipated future events.
To establish an estimate for returns, we use the expected value method by considering a portfolio of contracts with similar characteristics to calculate the historical returns rate.
GAAP. There are a number of limitations related to the use of adjusted EBITDA rather than net income (loss), which is the nearest U.S. GAAP equivalent of adjusted EBITDA, and the use of adjusted EBITDA margin rather than operating margin, which is the nearest U.S. GAAP equivalent of adjusted EBITDA margin.
GAAP equivalent of adjusted EBITDA, and the use of adjusted EBITDA margin rather than net income (loss) margin, which is the nearest U.S. GAAP equivalent of adjusted EBITDA margin.
Accordingly, we believe that these non-GAAP financial measures provide useful information to investors and others in understanding and evaluating our operating results, enhancing the overall understanding of our past performance and future prospects, and allowing for greater transparency with respect to a key financial metric used by our management in its financial and operational decision-making. 35 Table of contents Adjusted EBITDA and adjusted EBITDA margin are non-GAAP financial measures, and should not be considered in isolation of, or as an alternative to, measures prepared in accordance with U.S.
Accordingly, we believe that these non-GAAP financial measures provide useful information to investors and others in understanding and evaluating our operating results, enhancing the overall understanding of our past performance and future prospects, and allowing for greater transparency with respect to a key financial metric used by our management in its financial and operational decision-making.
As of October 1, 2022, our principal sources of liquidity consisted of cash flows from operating activities, cash and cash equivalents of $274.9 million, including $65.6 million held by our foreign subsidiaries, proceeds from the exercise of stock options and borrowing capacity under the Credit Facility.
As of September 30, 2023, our principal sources of liquidity consisted of cash flows from operating activities, cash and cash equivalents of $220.2 million, including $44.5 million held by our foreign subsidiaries, proceeds from the exercise of stock options and borrowing capacity under the Credit Facility.
If we were to incur additional debt financing it would result in increased debt service obligations and the instruments governing such debt could provide for operating and financing covenants that would restrict our operations. 39 Table of contents Debt Obligations On October 13, 2021, we entered into the Revolving Credit Agreement, which replaced our prior $80.0 million credit facility with JPMorgan Chase Bank, N.A., which matured in October 2021, in its entirety.
If we were to incur additional debt financing it would result in increased debt service obligations and the instruments governing such debt could provide for operating and financing covenants that would restrict our operations. Debt Obligations On October 13, 2021, we entered into the Revolving Credit Agreement.
Interest expense. Interest expense consists primarily of interest expense associated with our debt financing arrangements and amortization of debt issuance costs. Other income (expense), net. Other income (expense), net consists primarily of our foreign currency exchange gains and losses relating to transactions and remeasurement of asset and liability balances denominated in currencies other than the U.S. dollar.
Other income (expense), net consists primarily of our foreign currency exchange gains and losses relating to transactions and remeasurement of asset and liability balances denominated in currencies other than the U.S. dollar. We expect our foreign currency gains and losses to continue to fluctuate in the future due to changes in foreign currency exchange rates.
Foreign jurisdictions have statutory tax rates different from those in the United States. Accordingly, our effective tax rate will vary depending on jurisdictional mix of earnings, and changes in tax laws. In addition, certain U.S. tax regulations subject the earnings of our non-U.S. subsidiaries to current taxation in the United States.
Provision for (Benefit From) Income Taxes We are subject to income taxes in the United States and foreign jurisdictions in which we operate. Foreign jurisdictions have statutory tax rates different from those in the United States. Accordingly, our effective tax rate will vary depending on jurisdictional mix of earnings, and changes in tax laws.
Revenue We generate substantially all of our revenue from the sale of Sonos speakers and Sonos system products. We also generate a portion of revenue from Partner products and other revenue sources, such as module revenue from our IKEA partnership, architectural speakers from our Sonance partnership, accessories such as speaker stands and wall mounts, professional services, licensing, and advertising revenue.
We also generate a portion of revenue from partner products and other revenue sources, such as module revenue from our IKEA partnership, architectural speakers from our Sonance partnership, and accessories such as speaker stands and wall mounts, as well as professional services, advertising revenue, licensing and subscription revenue such as Sonos Radio HD and Sonos Pro (software-as-a-service). 40 Table of contents Our contracts generally include a combination of products and related software, and services.
We pioneered multi-room, wireless audio products, debuting the world’s first multi-room wireless sound system in 2005. Today, our products include wireless, portable, and home theater speakers, components, and accessories to address consumers’ evolving audio needs. We are known for delivering unparalleled sound, thoughtful design aesthetic, simplicity of use, and an open platform.
Overview Sonos is one of the world's leading sound experience brands. We pioneered multi-room, wireless audio products, debuting the world’s first multi-room wireless sound system in 2005. Today, our products include wireless, portable, and home theater speakers, components, and accessories to address consumers’ evolving audio needs.
Cash Flows Fiscal 2022 Changes in Cash Flows The following table summarizes our cash flows for the periods indicated: Fiscal Year Ended October 1, 2022 October 2, 2021 (In thousands) Net cash provided by (used in): Operating activities $ (28,260 ) $ 253,226 Investing activities (172,632 ) (45,531 ) Financing activities (150,260 ) 24,967 Effect of exchange rate changes (14,094 ) 148 Net increase in cash, cash equivalents and restricted cash $ (365,246 ) $ 232,810 Cash Flows from Operating Activities Net cash used in operating activities of $28.3 million for fiscal 2022 consisted of net income of $67.4 million, non-cash adjustments of $134.4 million and a net decrease in cash related to changes in operating assets and liabilities of $230.0 million.
Cash Flows Fiscal 2023 Changes in Cash Flows The following table summarizes our cash flows for the periods indicated: Fiscal Year Ended September 30, 2023 October 1, 2022 (In thousands) Net cash provided by (used in): Operating activities $ 100,406 $ (28,260 ) Investing activities (50,286 ) (172,632 ) Financing activities (108,592 ) (150,260 ) Effect of exchange rate changes 3,848 (14,094 ) Net decrease in cash, cash equivalents and restricted cash $ (54,624 ) $ (365,246 ) 39 Table of contents Cash Flows from Operating Activities Net cash provided by operating activities of $100.4 million for fiscal 2023 consisted of net loss of $10.3 million, non-cash adjustments of $149.6 million and a net decrease in cash related to changes in operating assets and liabilities of $38.9 million.
Nature of Products and Services Our product revenue primarily includes sales of Sonos speakers and Sonos system products, which include software that enables our products to operate over a customer’s wireless network as well as connect to various third-party services, including music and voice.
Products and related software primarily constitute Sonos speakers and Sonos system products and include software that enables our products to operate over a customer’s wireless network as well as connect to various third-party services, including music and voice. Additionally, module revenue includes hardware and embedded software that is integrated into final products that are manufactured and sold by our partners.
Unspecified software upgrades are provided on a when-and-if-available basis and have historically included updates and enhancements such as bug fixes, feature enhancements and updates to the ability to connect to third-party music or voice assistant platforms.
Service revenue includes revenue allocated to (i) unspecified software upgrades and (ii) cloud-based services that enable products to access third-party music and voice assistant platforms. Unspecified software upgrades have historically included updates and enhancements such as bug fixes, feature enhancements and updates to the ability to connect to third-party music or voice assistant platforms.
In developing SSP estimates, we also consider the nature of the products and services and the expected level of future services. Determining the revenue recognition period for unspecified software upgrades and cloud services requires judgment. We recognize revenue attributable to these performance obligations ratably over the best estimate of the period that the customer is expected to receive the services.
Revenue allocated to unspecified software upgrades and cloud-based services is deferred and recognized ratably over our best estimate of the period that the customer is expected to receive the services. Determining the revenue recognition period for unspecified software upgrades and cloud services requires judgment.
References to fiscal 2022 are to our 52-week fiscal year ended October 1, 2022, references to fiscal 2021 are to our 52-week fiscal year ended October 2, 2021, references to fiscal 2020 are to our 53-week fiscal year ended October 3, 2020. Overview Sonos is one of the world's leading sound experience brands.
References to fiscal 2023 are to our 52-week fiscal year ended September 30, 2023, references to fiscal 2022 are to our 52-week fiscal year ended October 1, 2022, references to fiscal 2021 are to our 52-week fiscal year ended October 2, 2021 and references to fiscal 2020 are to our 53-week fiscal year ended October 3, 2020.
Income Taxes Our income tax expense, deferred tax assets and liabilities, and liabilities for unrecognized tax benefits reflect our best estimate of current and future taxes to be paid. Significant judgments and estimates are required in the determination of the consolidated income tax expense.
A hypothetical 10% change to our inventory reserves percentages would not result in a material change to our fiscal 2023 cost of revenue. Income Taxes Our income tax expense, deferred tax assets and liabilities, and liabilities for unrecognized tax benefits reflect our best estimate of current and future taxes to be paid.
Research and Development Fiscal Year Ended Change from Prior Fiscal Year October 1, 2022 October 2, 2021 $ % (Dollars in thousands) Research and development $ 256,073 $ 230,078 $ 25,995 11.3 % Percentage of revenue 14.6 % 13.4 % Research and development expenses increased $26.0 million, or 11.3%, for fiscal 2022 compared to fiscal 2021.
Research and Development Fiscal Year Ended Change from Prior Fiscal Year September 30, 2023 October 1, 2022 $ % (Dollars in thousands) Research and development $ 294,445 $ 256,073 $ 38,372 15.0 % Restructuring and abandonment costs 6,556 — 6,556 * Total research and development $ 301,001 $ 256,073 $ 44,928 17.5 % Percentage of revenue 18.2 % 14.6 % * not meaningful Research and development expenses increased $44.9 million, or 17.5%, for fiscal 2023, compared to fiscal 2022.
Sales and Marketing Fiscal Year Ended Change from Prior Fiscal Year October 1, 2022 October 2, 2021 $ % (Dollars in thousands) Sales and marketing $ 280,333 $ 272,124 $ 8,209 3.0 % Percentage of revenue 16.0 % 15.9 % Sales and marketing expenses increased $8.2 million, or 3.0%, in fiscal 2022 compared to fiscal 2021.
Sales and Marketing Fiscal Year Ended Change from Prior Fiscal Year September 30, 2023 October 1, 2022 $ % (Dollars in thousands) Sales and marketing $ 261,883 $ 280,333 $ (18,450 ) (6.6 )% Restructuring and abandonment costs 5,635 — 5,635 * Total sales and marketing $ 267,518 $ 280,333 $ (12,815 ) (4.6 )% Percentage of revenue 16.2 % 16.0 % * not meaningful Sales and marketing expenses decreased $12.8 million, or 4.6%, for fiscal 2023, compared to fiscal 2022.
Other Income (Expense), Net Fiscal Year Ended Change from Prior Fiscal Year October 1, 2022 October 2, 2021 $ % (Dollars in thousands) Interest income $ 1,655 $ 146 $ 1,509 * Interest expense $ 552 $ 592 $ (40 ) (6.8 )% Other income (expense), net $ (21,905 ) $ 2,407 $ (24,312 ) * 38 Table of contents * not meaningful Interest income increased by $1.5 million, in fiscal 2022 compared to fiscal 2021, due to higher yields earned on our cash and cash equivalents during fiscal 2022.
Other Income (Expense), Net Fiscal Year Ended Change from Prior Fiscal Year September 30, 2023 October 1, 2022 $ % (Dollars in thousands) Interest income $ 10,201 $ 1,655 $ 8,546 * Interest expense (733 ) (552 ) (181 ) 32.80 % Other income (expense), net 15,473 (21,905 ) 37,378 * Total other income (expense), net $ 24,941 $ (20,802 ) $ 45,743 * * not meaningful Interest income for fiscal 2023, compared to fiscal 2022, increased due to higher yields on our cash and cash equivalents.
Our effective tax rate will be impacted by our ability to claim deductions and foreign tax credits to offset the taxation of foreign earnings in the United States. Deferred income taxes reflect the net tax effects of temporary differences between the carrying amounts of assets and liabilities for financial reporting purposes and the amounts used for income tax purposes.
In addition, certain U.S. tax regulations subject the earnings of our non-U.S. subsidiaries to current taxation in the United States. Our effective tax rate will be impacted by our ability to claim deductions and foreign tax credits to offset the taxation of foreign earnings in the United States.
Fiscal Year Ended October 1, 2022 October 2, 2021 October 3, 2020 (In thousands, except percentages) Revenue $ 1,752,336 $ 1,716,744 $ 1,326,328 Products sold 6,281 6,503 5,806 Adjusted EBITDA (1) $ 226,549 $ 278,585 $ 108,543 Adjusted EBITDA margin (1) 12.9 % 16.2 % 8.2 % (1) For additional information regarding adjusted EBITDA and adjusted EBITDA margin (which are non-GAAP financial measures), including reconciliations of net income (loss), to adjusted EBITDA, see the sections titled "Adjusted EBITDA and Adjusted EBITDA Margin" and "Non-GAAP Financial Measures" below.
Fiscal Year Ended September 30, 2023 October 1, 2022 October 2, 2021 (In thousands, except percentages) Revenue $ 1,655,255 $ 1,752,336 $ 1,716,744 Products sold 5,725 6,281 6,503 Net income (loss) (10,274 ) 67,383 158,595 Net income (loss) margin (1) (0.6 )% 3.8 % 9.2 % Adjusted EBITDA (2) $ 153,878 $ 226,549 $ 278,585 Adjusted EBITDA margin (2) 9.3 % 12.9 % 16.2 % (1) Net income (loss) margin is calculated by dividing net income (loss) by revenue.
Partner products and other revenue represented 4.9% of total revenue for fiscal 2022, and increased 18.6% compared to fiscal 2021. The increase was driven by sales from our partnerships with Sonance and IKEA. The volume of products sold decreased for fiscal 2022, compared to fiscal 2021, as we sold fewer units in the Sonos speakers category.
Partner products and other revenue represented 4.6% of total revenue for fiscal 2023, and decreased 11.1% compared to fiscal 2022. The decline was driven by a decrease in orders of our partner products. The volume of products sold decreased 8.9% for fiscal 2023, compared to fiscal 2022, driven by unit decreases across all categories.
Inventories Inventories consist of finished goods and component parts, which are purchased from contract manufacturers and component suppliers. Inventories are stated at the lower of cost and net realizable value. Cost is determined using a standard costing method, which approximates first-in first-out. We assess the valuation of inventory balances including an assessment to determine potential excess and/or obsolete inventory.
We record and value our inventory at the lower-of-cost and net realizable value. We determine cost using a standard costing method, which approximates first-in first-out.
The decrease in net operating assets and liabilities was partially offset by an increase in accounts payable and accrued expenses of $129.7 million primarily related to an increase in accrued inventory payments.
The net decrease in net operating assets and liabilities was primarily due to a decreases in accounts payable and accrued expenses of $162.3 million due to lower inventory purchases, a decrease in deferred revenue of $4.6 million, and a decrease in accrued compensation of $2.2 million due to lower accrued variable compensation.
The most directly comparable financial measure calculated under U.S. GAAP for adjusted EBITDA is net income (loss). In the fiscal years ended October 1, 2022 and October 2, 2021, we had net income of $67.4 million and $158.6 million, respectively and in the fiscal year ended October 3, 2020, we had a net loss of $20.1 million.
The most directly comparable financial measure calculated under U.S. GAAP for adjusted EBITDA and adjusted EBITDA margin are net income (loss) and net income (loss) margin, respectively.
In developing our estimates, we also consider the susceptibility of the incentive to outside influences, the length of time until the uncertainty is resolved, our experience with similar contracts, and the range of possible outcomes. Reductions in revenue related to discounts are allocated to products and services on a relative basis based on their respective SSP.
In developing SSP estimates, we also consider the nature of the products and services and the expected level of future services. We offer sales incentives through various programs, consisting primarily of discounts, cooperative advertising and market development fund programs. Reductions in revenue related to discounts are allocated to products and services on a relative basis based on their respective SSP.
Cash Flows from Investing Activities Cash used in investing activities for fiscal 2022 of $172.6 million consisted primarily of payments for acquisitions, net of acquired cash of $126.4 million, as well as purchases of property and equipment and intangible assets of $46.2 million, which were primarily related to manufacturing-related tooling and test equipment to support the launch of new products, as well as purchased intangible assets. 40 Table of contents Cash Flows from Financing Activities Cash used in financing activities for fiscal 2022 of $150.3 million consisted primarily of payments for repurchases of common stock of $150.1 million, payments for repurchases of common stock related to shares withheld for tax in connection with vesting of RSUs of $39.7 million, as well as payments for debt issuance costs of $0.9 million, offset by proceeds from the exercise of stock options of $40.4 million.
Cash Flows from Financing Activities Cash used in financing activities for fiscal 2023 of $108.6 million consisted primarily of payments for repurchase of common stock of $100.1 million, payments for repurchase of common stock related to shares withheld for tax in connection with vesting of RSUs of $29.9 million, partially offset by proceeds from exercise of common stock options of $21.3 million.
The facility may be drawn as an Alternative Base Rate Loan (at 1.00% plus an applicable margin) or Eurocurrency Loans (at the London interbank offered rate ("LIBOR") plus an applicable margin).
In June 2023, we amended our Revolving Credit Agreement to change the reference rate from LIBOR to the Secured Overnight Financing Rate (“SOFR”), effective July 1, 2023. The facility may be drawn as an Alternative Base Rate Loan (at 1.00% plus an applicable margin) or Term Benchmark Loan (SOFR plus an applicable margin).
Non-cash adjustments primarily consisted of stock-based compensation expense of $75.6 million and depreciation and amortization of $38.5 million.
Non-cash adjustments primarily consisted of stock-based compensation expense of $76.9 million, depreciation and amortization of $49.0 million, provision for inventory obsolescence of $20.6 million, restructuring and abandonment charges of $5.5 million, and other adjustments of $5.5 million, partially offset by foreign currency transaction gains of $7.3 million.
Cost of Revenue and Gross Profit Fiscal Year Ended Change from Prior Fiscal Year October 1, 2022 October 2, 2021 $ % (Dollars in thousands) Cost of revenue $ 955,969 $ 906,750 $ 49,219 5.4 % Percentage of revenue 54.6 % 52.8 % Gross profit $ 796,367 $ 809,994 $ (13,627 ) (1.7 )% Gross margin 45.4 % 47.2 % The increase in cost of revenue for fiscal 2022, compared to fiscal 2021, was primarily driven by an increase in air freight shipping in the first quarter of fiscal 2022, higher component costs, and an overall increase in shipping and logistics costs related to industry-wide supply chain dynamics.
We calculate constant currency growth percentages by translating our current period financial results using the prior period average currency exchange rates and comparing these amounts to our prior period reported results. 36 Table of contents Cost of Revenue and Gross Profit Fiscal Year Ended Change from Prior Fiscal Year September 30, 2023 October 1, 2022 $ % (Dollars in thousands) Cost of revenue $ 938,765 $ 955,969 $ (17,204 ) (1.8 )% Percentage of revenue 56.7 % 54.6 % Gross profit $ 716,490 $ 796,367 $ (79,877 ) (10.0 )% Gross margin 43.3 % 45.4 % Cost of revenue decreased $17.2 million, or 1.8%, for fiscal 2023, compared to fiscal 2022, primarily due to decreased volume of products sold, lower shipping and logistics costs related to the improvement in industry-wide supply chain dynamics compared to the prior year, and decreased spot market component costs due to the normalization of the supply chain.
The increase was primarily driven by $11.6 million in personnel-related expenses due to increased headcount and stock-based compensation, offset by lower variable compensation.
This increase was primarily driven by $40.4 million of higher personnel-related expenses, stock-based compensation and overhead driven by increased headcount related to our continued execution on our product roadmap and category expansion, and the impact of $6.6 million of restructuring and abandonment costs resulting from the 2023 restructuring plan.
Inventory write-downs and losses on purchase commitments are recorded as a component of cost of revenue in the consolidated statement of operations and comprehensive income (loss). Business Combinations We use the acquisition method of accounting for business combinations and recognize assets acquired and liabilities assumed measured at their fair values on the date acquired.
Inventory write-downs and losses on purchase commitments are recorded as a component of cost of revenue in our consolidated statement of operations and comprehensive income (loss). If actual demand is lower than our forecasted demand, we could be required to write down the value of additional inventory, which would have a negative effect on our gross profit.
Revenue is allocated to distinct performance obligations and is recognized net of allowances for returns, discounts, sales incentives and any taxes collected from customers, which are subsequently remitted to governmental authorities.
Transaction price is calculated as the stated consideration net of variable consideration such as allowances for returns, discounts, sales incentives, and any tax collected from customers. The transaction price is allocated to the separate performance obligations in the contract based on relative standalone selling prices ("SSPs").
General and Administrative Fiscal Year Ended Change from Prior Fiscal Year October 1, 2022 October 2, 2021 $ % (Dollars in thousands) General and administrative $ 170,429 $ 152,828 $ 17,601 11.5 % Percentage of revenue 9.7 % 8.9 % General and administrative expenses increased $17.6 million, or 11.5%, in fiscal 2022 compared to fiscal 2021.
This decrease was primarily driven by lower marketing expenses of $28.0 million partially offset by an increase of $6.3 million in personnel-related expenses, stock-based compensation and overhead due to increased headcount, as well as $5.6 million of restructuring and abandonment costs resulting from the 2023 restructuring plan. 37 Table of contents General and Administrative Fiscal Year Ended Change from Prior Fiscal Year September 30, 2023 October 1, 2022 $ % (Dollars in thousands) General and administrative $ 165,060 $ 170,429 $ (5,369 ) (3.2 )% Restructuring and abandonment costs 3,458 — 3,458 * Total general and administrative $ 168,518 $ 170,429 $ (1,911 ) (1.1 )% Percentage of revenue 10.2 % 9.7 % * not meaningful General and administrative expenses decreased $1.9 million, or 1.1%, for fiscal 2023, compared to fiscal 2022.