<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019c6cf5-7a5b-7b91-92c8-3d0307635b13,g:e11eef2f-1fed-4e40-8b3b-e0db6bca9886-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.roku.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="roku-20260331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c6cf5-7bd3-78fd-acff-cca062968db2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019c6cf5-7bd3-70de-b007-9510dc97f37d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c6cf5-7bd3-78fd-acff-cca062968db2" xlink:to="loc_us-gaap_Liabilities_019c6cf5-7bd3-70de-b007-9510dc97f37d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019c6cf5-7bd3-773a-8e79-580f562719d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c6cf5-7bd3-78fd-acff-cca062968db2" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019c6cf5-7bd3-773a-8e79-580f562719d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c6cf5-7bd3-7cd7-a2e0-f5bd41badabc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c6cf5-7bd3-78fd-acff-cca062968db2" xlink:to="loc_us-gaap_StockholdersEquity_019c6cf5-7bd3-7cd7-a2e0-f5bd41badabc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019c6cf5-7bd3-707e-bfd2-685a2dc76d87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019c6cf5-7bd3-707e-bfd2-685a2dc76d87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-7a53-9f24-8b54927b1e9b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:to="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-7a53-9f24-8b54927b1e9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019c6cf5-7bd3-754a-b7dc-c1d351d441ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019c6cf5-7bd3-754a-b7dc-c1d351d441ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019c6cf5-7bd3-719f-a444-c362c8d9a9bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019c6cf5-7bd3-719f-a444-c362c8d9a9bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019c6cf5-7bd3-7105-812e-819628ce8191" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:to="loc_us-gaap_Goodwill_019c6cf5-7bd3-7105-812e-819628ce8191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ContentAssetsNetNoncurrent_019c6cf5-7bd3-78e5-8c52-c44881156298" xlink:href="roku-20260331.xsd#roku_ContentAssetsNetNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:to="loc_roku_ContentAssetsNetNoncurrent_019c6cf5-7bd3-78e5-8c52-c44881156298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019c6cf5-7bd3-7096-8ddb-0b5b5a7d76b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c6cf5-7bd3-7078-bc6d-81e615dba7d6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019c6cf5-7bd3-7096-8ddb-0b5b5a7d76b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c6cf5-7bd3-73ed-b96f-e6b5e6483b0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019c6cf5-7bd3-7078-8dfe-c0d3d138a28b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c6cf5-7bd3-73ed-b96f-e6b5e6483b0a" xlink:to="loc_us-gaap_CommonStockValue_019c6cf5-7bd3-7078-8dfe-c0d3d138a28b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019c6cf5-7bd3-7045-95dc-00cbd0bde734" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c6cf5-7bd3-73ed-b96f-e6b5e6483b0a" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019c6cf5-7bd3-7045-95dc-00cbd0bde734" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019c6cf5-7bd3-7919-b1ee-ad0d403e4ec7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c6cf5-7bd3-73ed-b96f-e6b5e6483b0a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019c6cf5-7bd3-7919-b1ee-ad0d403e4ec7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c6cf5-7bd3-76d0-866f-09dfb7f1b43f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c6cf5-7bd3-73ed-b96f-e6b5e6483b0a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c6cf5-7bd3-76d0-866f-09dfb7f1b43f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019c6cf5-7bd3-78b9-80fe-80b1d8fc9b18" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7c8d-8348-e74ab0967e18" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019c6cf5-7bd3-78b9-80fe-80b1d8fc9b18" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7c8d-8348-e74ab0967e18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019c6cf5-7bd3-7b5b-9423-fa770079bee5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019c6cf5-7bd3-78b9-80fe-80b1d8fc9b18" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019c6cf5-7bd3-7b5b-9423-fa770079bee5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019c6cf5-7bd3-7b68-8c3c-1f0f90c6a9e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019c6cf5-7bd3-78b9-80fe-80b1d8fc9b18" xlink:to="loc_us-gaap_AccountsPayableCurrent_019c6cf5-7bd3-7b68-8c3c-1f0f90c6a9e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-74e7-8047-fb8ed08c6853" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c6cf5-7bd3-7d03-9a7a-a8f07042eb59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-74e7-8047-fb8ed08c6853" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c6cf5-7bd3-7d03-9a7a-a8f07042eb59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019c6cf5-7bd3-7732-ac16-56eccc7ad88d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-74e7-8047-fb8ed08c6853" xlink:to="loc_us-gaap_ShortTermInvestments_019c6cf5-7bd3-7732-ac16-56eccc7ad88d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019c6cf5-7bd3-741d-a769-f7eb408dda7f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-74e7-8047-fb8ed08c6853" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019c6cf5-7bd3-741d-a769-f7eb408dda7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019c6cf5-7bd3-7a93-ba06-1236349489b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-74e7-8047-fb8ed08c6853" xlink:to="loc_us-gaap_InventoryNet_019c6cf5-7bd3-7a93-ba06-1236349489b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019c6cf5-7bd3-77a9-87a0-28219e775065" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019c6cf5-7bd3-74e7-8047-fb8ed08c6853" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019c6cf5-7bd3-77a9-87a0-28219e775065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019c6cf5-7bd3-7cd8-8202-2d52d10eed24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019c6cf5-7bd3-79cb-b363-83d0711146b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c6cf5-7bd3-7cd8-8202-2d52d10eed24" xlink:to="loc_us-gaap_LiabilitiesCurrent_019c6cf5-7bd3-79cb-b363-83d0711146b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019c6cf5-7bd3-7be4-8418-c281b37de3b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c6cf5-7bd3-7cd8-8202-2d52d10eed24" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019c6cf5-7bd3-7be4-8418-c281b37de3b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019c6cf5-7bd3-7a7c-9579-e8996f7f66fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c6cf5-7bd3-7cd8-8202-2d52d10eed24" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019c6cf5-7bd3-7a7c-9579-e8996f7f66fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019c6cf5-7bd3-7cba-86b5-805c89657788" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c6cf5-7bd3-7cd8-8202-2d52d10eed24" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019c6cf5-7bd3-7cba-86b5-805c89657788" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="roku-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019c6cf5-7bd3-7a76-afef-620a0546aef0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019c6cf5-7bd3-7e06-b610-9da44489a518" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019c6cf5-7bd3-7a76-afef-620a0546aef0" xlink:to="loc_us-gaap_GrossProfit_019c6cf5-7bd3-7e06-b610-9da44489a518" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019c6cf5-7bd3-7d4f-aad1-80b7c2dfabc9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019c6cf5-7bd3-7a76-afef-620a0546aef0" xlink:to="loc_us-gaap_OperatingExpenses_019c6cf5-7bd3-7d4f-aad1-80b7c2dfabc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019c6cf5-7bd3-78a6-a2da-182d7ead1bd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019c6cf5-7bd3-7a7a-bf74-377b0f1ea362" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019c6cf5-7bd3-78a6-a2da-182d7ead1bd1" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019c6cf5-7bd3-7a7a-bf74-377b0f1ea362" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019c6cf5-7bd3-7838-ac06-4b9f2fbf9894" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019c6cf5-7bd3-78a6-a2da-182d7ead1bd1" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019c6cf5-7bd3-7838-ac06-4b9f2fbf9894" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019c6cf5-7bd3-7bb4-90ef-10ed34f88ea8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019c6cf5-7bd3-78a6-a2da-182d7ead1bd1" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019c6cf5-7bd3-7bb4-90ef-10ed34f88ea8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c6cf5-7bd3-74f1-8d2e-406355c96826" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019c6cf5-7bd3-74a3-901a-f80cdfe3dec8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c6cf5-7bd3-74f1-8d2e-406355c96826" xlink:to="loc_us-gaap_OperatingIncomeLoss_019c6cf5-7bd3-74a3-901a-f80cdfe3dec8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019c6cf5-7bd3-7dbe-9865-98a268381eb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c6cf5-7bd3-74f1-8d2e-406355c96826" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019c6cf5-7bd3-7dbe-9865-98a268381eb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019c6cf5-7bd3-7e00-9305-d6253ecc33f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019c6cf5-7bd3-72da-af13-3c26ee2a3aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019c6cf5-7bd3-7e00-9305-d6253ecc33f0" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019c6cf5-7bd3-72da-af13-3c26ee2a3aa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019c6cf5-7bd3-7f91-9111-fb834368b36b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019c6cf5-7bd3-7e00-9305-d6253ecc33f0" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019c6cf5-7bd3-7f91-9111-fb834368b36b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c6cf5-7bd3-7a25-9eaf-c72c721a1c68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c6cf5-7bd3-7d23-81ea-d8e08b7dccf8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019c6cf5-7bd3-7a25-9eaf-c72c721a1c68" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c6cf5-7bd3-7d23-81ea-d8e08b7dccf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c6cf5-7bd3-7269-8eb7-6a3b3a0b6bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019c6cf5-7bd3-7a25-9eaf-c72c721a1c68" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019c6cf5-7bd3-7269-8eb7-6a3b3a0b6bc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019c6cf5-7bd3-7d1a-91bd-0389522a93f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019c6cf5-7bd3-7ab9-a4e5-5ec4e28895ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019c6cf5-7bd3-7d1a-91bd-0389522a93f3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019c6cf5-7bd3-7ab9-a4e5-5ec4e28895ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019c6cf5-7bd3-76b6-9126-80e5e58d266e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019c6cf5-7bd3-7d1a-91bd-0389522a93f3" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019c6cf5-7bd3-76b6-9126-80e5e58d266e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="roku-20260331.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019c6cf5-7bd3-7cad-b303-eb182a28dc63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c6cf5-7bd3-7ac8-b1d3-4853579a560f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019c6cf5-7bd3-7cad-b303-eb182a28dc63" xlink:to="loc_us-gaap_NetIncomeLoss_019c6cf5-7bd3-7ac8-b1d3-4853579a560f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019c6cf5-7bd3-73b2-855c-9489f696ffb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019c6cf5-7bd3-7cad-b303-eb182a28dc63" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019c6cf5-7bd3-73b2-855c-9489f696ffb3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="roku-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019c6cf5-7bd3-73d8-a8f8-80526f39334a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_ShareBasedCompensation_019c6cf5-7bd3-73d8-a8f8-80526f39334a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c6cf5-7bd3-739f-8459-b4bf8e05589e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_NetIncomeLoss_019c6cf5-7bd3-739f-8459-b4bf8e05589e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_019c6cf5-7bd3-788a-ab27-c531b2265cad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_019c6cf5-7bd3-788a-ab27-c531b2265cad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_019c6cf5-7bd3-7b95-8645-13b8eabb0d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_019c6cf5-7bd3-7b95-8645-13b8eabb0d1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019c6cf5-7bd3-70af-bc94-6a32b10ccc1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019c6cf5-7bd3-70af-bc94-6a32b10ccc1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019c6cf5-7bd3-7a1d-a721-7a12f896c69b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019c6cf5-7bd3-7a1d-a721-7a12f896c69b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019c6cf5-7bd3-7d55-9441-8cac51570074" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019c6cf5-7bd3-7d55-9441-8cac51570074" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019c6cf5-7bd3-7562-a666-0e660c6417e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_AssetImpairmentCharges_019c6cf5-7bd3-7562-a666-0e660c6417e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019c6cf5-7bd3-7246-b2da-4058ab5a4abd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019c6cf5-7bd3-7246-b2da-4058ab5a4abd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019c6cf5-7bd3-71c8-943b-bae78e9c3443" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019c6cf5-7bd3-71c8-943b-bae78e9c3443" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AmortizationExpenseAndWriteOffOfContentAssets_019c6cf5-7bd3-77f9-bd1a-8c2144599568" xlink:href="roku-20260331.xsd#roku_AmortizationExpenseAndWriteOffOfContentAssets"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_roku_AmortizationExpenseAndWriteOffOfContentAssets_019c6cf5-7bd3-77f9-bd1a-8c2144599568" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019c6cf5-7bd3-7836-8bb6-b7ee87f76ec4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019c6cf5-7bd3-7836-8bb6-b7ee87f76ec4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019c6cf5-7bd3-79a1-a305-5c5652c11878" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019c6cf5-7bd3-79a1-a305-5c5652c11878" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019c6cf5-7bd3-7ab6-8895-d3bcbafada64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019c6cf5-7bd3-7ab6-8895-d3bcbafada64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019c6cf5-7bd3-747a-a560-66f88419d18d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019c6cf5-7bd3-747a-a560-66f88419d18d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019c6cf5-7bd3-73c8-96b2-5dd7410f0d08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_DepreciationAndAmortization_019c6cf5-7bd3-73c8-96b2-5dd7410f0d08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_019c6cf5-7bd3-723f-9425-d5b60bf79004" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_019c6cf5-7bd3-723f-9425-d5b60bf79004" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_IncreaseDecreaseInContentAssetsAndLiabilitiesNet_019c6cf5-7bd3-7939-88bd-1938876cca9b" xlink:href="roku-20260331.xsd#roku_IncreaseDecreaseInContentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_roku_IncreaseDecreaseInContentAssetsAndLiabilitiesNet_019c6cf5-7bd3-7939-88bd-1938876cca9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_019c6cf5-7bd3-7827-a948-3df1555a5f2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_019c6cf5-7bd3-7827-a948-3df1555a5f2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_019c6cf5-7bd3-7b96-b247-d7c94da1c31c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-78e1-82ca-31e900d3bb78" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_019c6cf5-7bd3-7b96-b247-d7c94da1c31c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-77a6-b915-a5c0ffa90db4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019c6cf5-7bd3-73b7-8ce4-407f2b5cc868" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-77a6-b915-a5c0ffa90db4" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019c6cf5-7bd3-73b7-8ce4-407f2b5cc868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019c6cf5-7bd3-79da-991e-d1be367c49ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-77a6-b915-a5c0ffa90db4" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019c6cf5-7bd3-79da-991e-d1be367c49ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_019dd2ea-7266-7c22-a4af-817a47e9a619" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-77a6-b915-a5c0ffa90db4" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_019dd2ea-7266-7c22-a4af-817a47e9a619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionOfShorttermInvestments_019ddd8b-26fd-7987-9422-7697c6337573" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionOfShorttermInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-77a6-b915-a5c0ffa90db4" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionOfShorttermInvestments_019ddd8b-26fd-7987-9422-7697c6337573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_019ddd8c-bca0-7211-a3b4-35868f58b933" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-77a6-b915-a5c0ffa90db4" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_019ddd8c-bca0-7211-a3b4-35868f58b933" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c6cf5-7bd3-7081-903a-3647c9772dae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-7a98-92a1-47a247b7ca6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c6cf5-7bd3-7081-903a-3647c9772dae" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c6cf5-7bd3-7a98-92a1-47a247b7ca6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-7d4c-b938-4bbd983cb915" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c6cf5-7bd3-7081-903a-3647c9772dae" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c6cf5-7bd3-7d4c-b938-4bbd983cb915" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c6cf5-7bd3-7a28-8973-ef5303512269" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c6cf5-7bd3-7081-903a-3647c9772dae" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c6cf5-7bd3-7a28-8973-ef5303512269" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c6cf5-7bd3-7dc2-924d-e6a2b2b1dc71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c6cf5-7bd3-78a1-bdee-fa48c09e3265" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c6cf5-7bd3-7dc2-924d-e6a2b2b1dc71" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c6cf5-7bd3-78a1-bdee-fa48c09e3265" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashCurrent_019c6cf5-7bd3-7222-8f93-65b7c44d614f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019c6cf5-7bd3-7dc2-924d-e6a2b2b1dc71" xlink:to="loc_us-gaap_RestrictedCashCurrent_019c6cf5-7bd3-7222-8f93-65b7c44d614f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c6cf5-7bd3-7dec-95c7-f3636315f695" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019c6cf5-7bd3-75e7-8798-c3539840b84e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c6cf5-7bd3-7dec-95c7-f3636315f695" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019c6cf5-7bd3-75e7-8798-c3539840b84e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019c6cf5-7bd3-7fa7-994c-1a951523ae67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c6cf5-7bd3-7dec-95c7-f3636315f695" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019c6cf5-7bd3-7fa7-994c-1a951523ae67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019c6cf5-7bd3-7a69-bf16-4d72200127d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c6cf5-7bd3-7dec-95c7-f3636315f695" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019c6cf5-7bd3-7a69-bf16-4d72200127d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/REVENUEScheduleofContractBalancesDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#REVENUEScheduleofContractBalancesDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/REVENUEScheduleofContractBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_019dc35f-945d-76ba-b9d3-b30a013b36bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019dc35f-945d-792b-b844-90bd8751fd86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_019dc35f-945d-76ba-b9d3-b30a013b36bc" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019dc35f-945d-792b-b844-90bd8751fd86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019dc35f-945d-7c8d-b2d8-9ba557559f04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_019dc35f-945d-76ba-b9d3-b30a013b36bc" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019dc35f-945d-7c8d-b2d8-9ba557559f04" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-7a47-b3e1-b9e1f2e6168c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019c6cf5-7bd3-7feb-b2ad-ee850bbed64a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-7a47-b3e1-b9e1f2e6168c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019c6cf5-7bd3-7feb-b2ad-ee850bbed64a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019c6cf5-7bd3-746c-9d11-515f0ee2778a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-7a47-b3e1-b9e1f2e6168c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019c6cf5-7bd3-746c-9d11-515f0ee2778a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019c6cf5-7bd3-75d4-827b-9c44dedc547f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019c6cf5-7bd3-72a3-b5c5-e5aa78f9bd4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019c6cf5-7bd3-75d4-827b-9c44dedc547f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019c6cf5-7bd3-72a3-b5c5-e5aa78f9bd4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019c6cf5-7bd3-71cd-bcd0-92324a6e528c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-786b-b0fb-9fa3ef6ee538" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019c6cf5-7bd3-71cd-bcd0-92324a6e528c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-786b-b0fb-9fa3ef6ee538" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="roku-20260331.xsd#GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails_1"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019c6cf5-7bd3-7cf7-a1fd-17a5944cba7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019c6cf5-7bd3-7aac-88ed-55288cdcebd3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019c6cf5-7bd3-7cf7-a1fd-17a5944cba7c" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019c6cf5-7bd3-7aac-88ed-55288cdcebd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019c6cf5-7bd3-775b-b564-fd7dd2b3e3e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019c6cf5-7bd3-7cf7-a1fd-17a5944cba7c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019c6cf5-7bd3-775b-b564-fd7dd2b3e3e2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSScheduleofEstimatedFutureAmortizationExpenseforIntangibleAssetDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#GOODWILLANDINTANGIBLEASSETSScheduleofEstimatedFutureAmortizationExpenseforIntangibleAssetDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSScheduleofEstimatedFutureAmortizationExpenseforIntangibleAssetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-76eb-b924-794edbd1d4d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019c6cf5-7bd3-7889-acfc-5b1873d92b47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-76eb-b924-794edbd1d4d6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019c6cf5-7bd3-7889-acfc-5b1873d92b47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019c6cf5-7bd3-78ff-a576-085f4e43888f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-76eb-b924-794edbd1d4d6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019c6cf5-7bd3-78ff-a576-085f4e43888f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019c6cf5-7bd3-7c98-8129-8cabb1e250da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-76eb-b924-794edbd1d4d6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019c6cf5-7bd3-7c98-8129-8cabb1e250da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019c6cf5-7bd3-7eda-9830-637cdbd8c0f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-76eb-b924-794edbd1d4d6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019c6cf5-7bd3-7eda-9830-637cdbd8c0f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019c6cf5-7bd3-7a77-9356-277f0e453999" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-76eb-b924-794edbd1d4d6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019c6cf5-7bd3-7a77-9356-277f0e453999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_019c6cf5-7bd3-7684-be92-5e1e9572690e" xlink:href="roku-20260331.xsd#roku_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019c6cf5-7bd3-76eb-b924-794edbd1d4d6" xlink:to="loc_roku_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_019c6cf5-7bd3-7684-be92-5e1e9572690e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccountsReceivableNetDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#BALANCESHEETCOMPONENTSScheduleofAccountsReceivableNetDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccountsReceivableNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019c6cf5-7bd3-7bc4-93dc-6f36e314da78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_019c6cf5-7bd3-7fdb-abbb-feaeae66742b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019c6cf5-7bd3-7bc4-93dc-6f36e314da78" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_019c6cf5-7bd3-7fdb-abbb-feaeae66742b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_019c6cf5-7bd3-71fd-8cd4-4cf497755136" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowancesAndReservesBalance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019c6cf5-7bd3-7bc4-93dc-6f36e314da78" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_019c6cf5-7bd3-71fd-8cd4-4cf497755136" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#BALANCESHEETCOMPONENTSScheduleofPropertyandEquipmentNetDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofPropertyandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019c6cf5-7bd3-7ae5-9d9a-3b6818fdf2e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019c6cf5-7bd3-728a-ac16-e14788fec858" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019c6cf5-7bd3-7ae5-9d9a-3b6818fdf2e8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019c6cf5-7bd3-728a-ac16-e14788fec858" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019c6cf5-7bd3-7d20-b75e-4a319f0a13ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019c6cf5-7bd3-7ae5-9d9a-3b6818fdf2e8" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019c6cf5-7bd3-7d20-b75e-4a319f0a13ca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#BALANCESHEETCOMPONENTSScheduleofAccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_PaymentsDueToContentPublishersCurrent_019c6cf5-7bd3-7b00-b5cd-0936e3ba30bf" xlink:href="roku-20260331.xsd#roku_PaymentsDueToContentPublishersCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_roku_PaymentsDueToContentPublishersCurrent_019c6cf5-7bd3-7b00-b5cd-0936e3ba30bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AccruedCostOfRevenueCurrent_019c6cf5-7bd3-7780-8393-3827974faaf5" xlink:href="roku-20260331.xsd#roku_AccruedCostOfRevenueCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_roku_AccruedCostOfRevenueCurrent_019c6cf5-7bd3-7780-8393-3827974faaf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_019c6cf5-7bd3-7de0-bc3f-a20e0b7e73aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedMarketingCostsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_019c6cf5-7bd3-7de0-bc3f-a20e0b7e73aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019c6cf5-7bd3-7b2c-9090-ae17cee68b21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019c6cf5-7bd3-7b2c-9090-ae17cee68b21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AccruedLegalAndLicensingFees_019c6cf5-7bd3-7dfc-bb36-69832b985636" xlink:href="roku-20260331.xsd#roku_AccruedLegalAndLicensingFees"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_roku_AccruedLegalAndLicensingFees_019c6cf5-7bd3-7dfc-bb36-69832b985636" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ContentLiabilityCurrent_019c6cf5-7bd3-7300-a32a-0ee86c247879" xlink:href="roku-20260331.xsd#roku_ContentLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_roku_ContentLiabilityCurrent_019c6cf5-7bd3-7300-a32a-0ee86c247879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019c6cf5-7bd3-7298-9e74-bd4acf1ea881" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019c6cf5-7bd3-7298-9e74-bd4acf1ea881" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019c6cf5-7bd3-72fe-a7f8-0918ff679d24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019c6cf5-7bd3-7707-9652-d50c24a1c44c" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019c6cf5-7bd3-72fe-a7f8-0918ff679d24" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofOtherLongTermLiabilitiesDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#BALANCESHEETCOMPONENTSScheduleofOtherLongTermLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofOtherLongTermLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019c6cf5-7bd3-7a62-b180-4fbc56009bb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ContentLiabilityNoncurrent_019c6cf5-7bd3-75ed-9795-0e1954322a3f" xlink:href="roku-20260331.xsd#roku_ContentLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019c6cf5-7bd3-7a62-b180-4fbc56009bb2" xlink:to="loc_roku_ContentLiabilityNoncurrent_019c6cf5-7bd3-75ed-9795-0e1954322a3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_019c6cf5-7bd3-7fed-9eb3-d21876350d1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherSundryLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019c6cf5-7bd3-7a62-b180-4fbc56009bb2" xlink:to="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_019c6cf5-7bd3-7fed-9eb3-d21876350d1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019c6cf5-7bd3-7b2b-9e6d-afffcfa2c849" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019c6cf5-7bd3-7a62-b180-4fbc56009bb2" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019c6cf5-7bd3-7b2b-9e6d-afffcfa2c849" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONTENTASSETSScheduleofAmortizationofContentAssetsDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#CONTENTASSETSScheduleofAmortizationofContentAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/CONTENTASSETSScheduleofAmortizationofContentAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_roku_AmortizationExpenseOfContentAssets_019c6cf5-7c89-755e-8511-0c9d85f167eb" xlink:href="roku-20260331.xsd#roku_AmortizationExpenseOfContentAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AmortizationExpenseOfLicensedContentAssets_019c6cf5-7c89-7273-851e-d78150ad93a4" xlink:href="roku-20260331.xsd#roku_AmortizationExpenseOfLicensedContentAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_roku_AmortizationExpenseOfContentAssets_019c6cf5-7c89-755e-8511-0c9d85f167eb" xlink:to="loc_roku_AmortizationExpenseOfLicensedContentAssets_019c6cf5-7c89-7273-851e-d78150ad93a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AmortizationExpenseOfProducedContentAssets_019c6cf5-7c89-79a9-9c2d-ced056248742" xlink:href="roku-20260331.xsd#roku_AmortizationExpenseOfProducedContentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_roku_AmortizationExpenseOfContentAssets_019c6cf5-7c89-755e-8511-0c9d85f167eb" xlink:to="loc_roku_AmortizationExpenseOfProducedContentAssets_019c6cf5-7c89-79a9-9c2d-ced056248742" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/FAIRVALUEDISCLOSUREScheduleofFinancialAssetsMeasuredatFairValueDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#FAIRVALUEDISCLOSUREScheduleofFinancialAssetsMeasuredatFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/FAIRVALUEDISCLOSUREScheduleofFinancialAssetsMeasuredatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019c6cf5-7c89-7f9b-98a5-04d59e64d039" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019c6cf5-7c89-7891-87cf-4c61f824d62e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019c6cf5-7c89-7f9b-98a5-04d59e64d039" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019c6cf5-7c89-7891-87cf-4c61f824d62e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019c6cf5-7c89-7383-8a74-5c0a4551b6f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019c6cf5-7c89-7f9b-98a5-04d59e64d039" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019c6cf5-7c89-7383-8a74-5c0a4551b6f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019c6cf5-7c89-74a7-ac69-7b3a687a5169" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019c6cf5-7c89-7c1f-9199-83d191530406" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019c6cf5-7c89-74a7-ac69-7b3a687a5169" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019c6cf5-7c89-7c1f-9199-83d191530406" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019c6cf5-7c89-75ea-8b06-07298c62bda8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019c6cf5-7c89-74a7-ac69-7b3a687a5169" xlink:to="loc_us-gaap_ShortTermInvestments_019c6cf5-7c89-75ea-8b06-07298c62bda8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofComponentsofLeaseExpenseDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#LEASESScheduleofComponentsofLeaseExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/LEASESScheduleofComponentsofLeaseExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_019c6cf5-7c89-756c-b430-0a7511791af5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_019c6cf5-7c89-7362-a525-bfebc83115f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019c6cf5-7c89-756c-b430-0a7511791af5" xlink:to="loc_us-gaap_OperatingLeaseCost_019c6cf5-7c89-7362-a525-bfebc83115f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_019c6cf5-7c89-7bd0-b7f4-ab336a314f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019c6cf5-7c89-756c-b430-0a7511791af5" xlink:to="loc_us-gaap_VariableLeaseCost_019c6cf5-7c89-7bd0-b7f4-ab336a314f0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_019c6cf5-7c89-7e6b-a918-7def8eeab6c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019c6cf5-7c89-756c-b430-0a7511791af5" xlink:to="loc_us-gaap_SubleaseIncome_019c6cf5-7c89-7e6b-a918-7def8eeab6c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofSupplementalBalanceSheetInformationRelatedtoLeasesDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#LEASESScheduleofSupplementalBalanceSheetInformationRelatedtoLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/LEASESScheduleofSupplementalBalanceSheetInformationRelatedtoLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019c6cf5-7c89-73b2-b083-d16f3b529057" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019c6cf5-7c89-7eef-ad72-9133da0e9a7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_019c6cf5-7c89-73b2-b083-d16f3b529057" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019c6cf5-7c89-7eef-ad72-9133da0e9a7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019c6cf5-7c89-7509-882e-48a69e23c51c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_019c6cf5-7c89-73b2-b083-d16f3b529057" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019c6cf5-7c89-7509-882e-48a69e23c51c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-718a-83ba-f33a2b689303" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019c6cf5-7c89-74fb-bd67-766b5a050552" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-718a-83ba-f33a2b689303" xlink:to="loc_us-gaap_OperatingLeaseLiability_019c6cf5-7c89-74fb-bd67-766b5a050552" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ExpectedTenantImprovementAllowance_019c6cf5-7c89-71f5-90d1-6bcf2e65a6fb" xlink:href="roku-20260331.xsd#roku_ExpectedTenantImprovementAllowance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-718a-83ba-f33a2b689303" xlink:to="loc_roku_ExpectedTenantImprovementAllowance_019c6cf5-7c89-71f5-90d1-6bcf2e65a6fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019c6cf5-7c89-7d9f-a980-5a536e9fb69a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-718a-83ba-f33a2b689303" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019c6cf5-7c89-7d9f-a980-5a536e9fb69a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails_1" xlink:type="simple" xlink:href="roku-20260331.xsd#LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails_1"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-72d5-bf06-125317746e2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019c6cf5-7c89-758b-8e94-0f887dd01925" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-72d5-bf06-125317746e2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019c6cf5-7c89-758b-8e94-0f887dd01925" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019c6cf5-7c89-7a54-b995-a20034598a17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-72d5-bf06-125317746e2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019c6cf5-7c89-7a54-b995-a20034598a17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019c6cf5-7c89-7cf1-8563-4d3c8fa2f25a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-72d5-bf06-125317746e2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019c6cf5-7c89-7cf1-8563-4d3c8fa2f25a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019c6cf5-7c89-7966-8cf0-15dc515d8762" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-72d5-bf06-125317746e2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019c6cf5-7c89-7966-8cf0-15dc515d8762" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019c6cf5-7c89-79b8-94a3-e3a28a861215" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-72d5-bf06-125317746e2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019c6cf5-7c89-79b8-94a3-e3a28a861215" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019c6cf5-7c89-7bd1-b1e4-c82e668addbb" xlink:href="roku-20260331.xsd#roku_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019c6cf5-7c89-72d5-bf06-125317746e2c" xlink:to="loc_roku_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019c6cf5-7c89-7bd1-b1e4-c82e668addbb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/STOCKHOLDERSEQUITYScheduleofReservedSharesofCommonStockforIssuanceDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#STOCKHOLDERSEQUITYScheduleofReservedSharesofCommonStockforIssuanceDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/STOCKHOLDERSEQUITYScheduleofReservedSharesofCommonStockforIssuanceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c6cf5-7c89-719c-a446-31b918911649" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_CumulativeCommonStockAwardsGranted_019c6cf5-7c89-700c-95f4-349e6b819208" xlink:href="roku-20260331.xsd#roku_CumulativeCommonStockAwardsGranted"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c6cf5-7c89-719c-a446-31b918911649" xlink:to="loc_roku_CumulativeCommonStockAwardsGranted_019c6cf5-7c89-700c-95f4-349e6b819208" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_CumulativeCommonStockAwardsAvailableForIssuance_019c6cf5-7c89-7ccf-a334-4b50065d96aa" xlink:href="roku-20260331.xsd#roku_CumulativeCommonStockAwardsAvailableForIssuance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c6cf5-7c89-719c-a446-31b918911649" xlink:to="loc_roku_CumulativeCommonStockAwardsAvailableForIssuance_019c6cf5-7c89-7ccf-a334-4b50065d96aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/COMMITMENTSANDCONTINGENCIESDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#COMMITMENTSANDCONTINGENCIESDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/COMMITMENTSANDCONTINGENCIESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_019c6cf5-7c89-7256-b937-b2bdc0d0c57b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_019c6cf5-7c89-7df5-baa5-0f46c9285a5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019c6cf5-7c89-7256-b937-b2bdc0d0c57b" xlink:to="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_019c6cf5-7c89-7df5-baa5-0f46c9285a5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_019c6cf5-7c89-76ef-ab72-38bf6b72a659" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019c6cf5-7c89-7256-b937-b2bdc0d0c57b" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_019c6cf5-7c89-76ef-ab72-38bf6b72a659" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_019c6cf5-7c89-7b2d-b201-74a7185c228e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInSecondYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019c6cf5-7c89-7256-b937-b2bdc0d0c57b" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_019c6cf5-7c89-7b2d-b201-74a7185c228e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_019c6cf5-7c89-7a35-9304-6820780ba0fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInThirdYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019c6cf5-7c89-7256-b937-b2bdc0d0c57b" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_019c6cf5-7c89-7a35-9304-6820780ba0fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthYear_019c6cf5-7c89-732a-9474-64b735009b3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInFourthYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019c6cf5-7c89-7256-b937-b2bdc0d0c57b" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthYear_019c6cf5-7c89-732a-9474-64b735009b3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_PurchaseObligationDueAfterFourthYear_019c6cf5-7c89-795e-9f04-838d35c7f2c8" xlink:href="roku-20260331.xsd#roku_PurchaseObligationDueAfterFourthYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019c6cf5-7c89-7256-b937-b2bdc0d0c57b" xlink:to="loc_roku_PurchaseObligationDueAfterFourthYear_019c6cf5-7c89-795e-9f04-838d35c7f2c8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/NETINCOMELOSSPERSHAREScheduleofCalculationofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="simple" xlink:href="roku-20260331.xsd#NETINCOMELOSSPERSHAREScheduleofCalculationofBasicandDilutedNetIncomeLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.roku.com/role/NETINCOMELOSSPERSHAREScheduleofCalculationofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019c6cf5-7c89-719e-8505-194f60816872" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019c6cf5-7c89-77bb-a5dd-2168a7bda730" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019c6cf5-7c89-719e-8505-194f60816872" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019c6cf5-7c89-77bb-a5dd-2168a7bda730" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019c6cf5-7c89-7d92-9b6f-8d19584d5179" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019c6cf5-7c89-719e-8505-194f60816872" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019c6cf5-7c89-7d92-9b6f-8d19584d5179" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
