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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e6a50-d065-7fd0-9bb5-edafe475a402,g:11bbee8b-8ae8-4075-abb8-83c59018ca64-->
<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-20260630.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_StockholdersEquity_019e6a50-d126-71ab-8d8b-547642f29337" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e6a50-d126-7bd7-8360-a1160ac83b18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-71ab-8d8b-547642f29337" xlink:to="loc_us-gaap_CommonStockValue_019e6a50-d126-7bd7-8360-a1160ac83b18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e6a50-d126-7b5c-9cc1-a01a1774af90" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-71ab-8d8b-547642f29337" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e6a50-d126-7b5c-9cc1-a01a1774af90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e6a50-d126-7c0d-a38e-24ad4d4f0e04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-71ab-8d8b-547642f29337" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e6a50-d126-7c0d-a38e-24ad4d4f0e04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e6a50-d126-7f4b-bd8a-9781ce4cd56b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-71ab-8d8b-547642f29337" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e6a50-d126-7f4b-bd8a-9781ce4cd56b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e6a50-d126-7397-bb3a-cb48c3c2b5e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e6a50-d126-70d1-a8ec-b50bbde0ecb9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7397-bb3a-cb48c3c2b5e0" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e6a50-d126-70d1-a8ec-b50bbde0ecb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019e6a50-d126-7d87-9ebd-d311294c347e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7397-bb3a-cb48c3c2b5e0" xlink:to="loc_us-gaap_ShortTermInvestments_019e6a50-d126-7d87-9ebd-d311294c347e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e6a50-d126-7879-a594-e210ebacc253" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7397-bb3a-cb48c3c2b5e0" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e6a50-d126-7879-a594-e210ebacc253" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e6a50-d126-718e-9107-682d9982dde7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7397-bb3a-cb48c3c2b5e0" xlink:to="loc_us-gaap_InventoryNet_019e6a50-d126-718e-9107-682d9982dde7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e6a50-d126-770d-9386-f6539ae48f81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7397-bb3a-cb48c3c2b5e0" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e6a50-d126-770d-9386-f6539ae48f81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e6a50-d126-70d7-a60b-37b45d8aadf5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019e6a50-d126-73a5-93d3-4058cd58d743" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-70d7-a60b-37b45d8aadf5" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019e6a50-d126-73a5-93d3-4058cd58d743" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e6a50-d126-72d7-8d95-8e2605aff0ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-70d7-a60b-37b45d8aadf5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e6a50-d126-72d7-8d95-8e2605aff0ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019e6a50-d126-7a3d-a49f-f0dd42d20e95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-70d7-a60b-37b45d8aadf5" xlink:to="loc_us-gaap_AccountsPayableCurrent_019e6a50-d126-7a3d-a49f-f0dd42d20e95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e6a50-d126-7189-9348-437623fe2a47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e6a50-d126-762d-8f0b-ccca65221a23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7189-9348-437623fe2a47" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e6a50-d126-762d-8f0b-ccca65221a23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e6a50-d126-7a2f-960b-b6bbc8638810" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7189-9348-437623fe2a47" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e6a50-d126-7a2f-960b-b6bbc8638810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e6a50-d126-7a2d-8400-3b62d79809d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7189-9348-437623fe2a47" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019e6a50-d126-7a2d-8400-3b62d79809d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019e6a50-d126-7529-b0ef-0b5fac15342b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7189-9348-437623fe2a47" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019e6a50-d126-7529-b0ef-0b5fac15342b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e6a50-d126-7182-9567-44824b7fe112" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e6a50-d126-7846-9ce9-ed3d4348b00a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7182-9567-44824b7fe112" xlink:to="loc_us-gaap_Liabilities_019e6a50-d126-7846-9ce9-ed3d4348b00a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e6a50-d126-76c6-92d4-44cb4fb36045" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7182-9567-44824b7fe112" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e6a50-d126-76c6-92d4-44cb4fb36045" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e6a50-d126-70e0-bf0d-d32ecc9c20fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7182-9567-44824b7fe112" xlink:to="loc_us-gaap_StockholdersEquity_019e6a50-d126-70e0-bf0d-d32ecc9c20fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e6a50-d126-77e8-a681-8f9664213d42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e6a50-d126-77bc-8e85-f91968ae5a0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-77e8-a681-8f9664213d42" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e6a50-d126-77bc-8e85-f91968ae5a0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e6a50-d126-7153-a9b6-7024c5694dd5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-77e8-a681-8f9664213d42" xlink:to="loc_us-gaap_AssetsCurrent_019e6a50-d126-7153-a9b6-7024c5694dd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e6a50-d126-7fb4-b0b5-0fe71141ada9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-77e8-a681-8f9664213d42" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e6a50-d126-7fb4-b0b5-0fe71141ada9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e6a50-d126-7d29-9764-bbb4d4336a77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-77e8-a681-8f9664213d42" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e6a50-d126-7d29-9764-bbb4d4336a77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e6a50-d126-7916-883b-94e4d2ad181d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-77e8-a681-8f9664213d42" xlink:to="loc_us-gaap_Goodwill_019e6a50-d126-7916-883b-94e4d2ad181d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ContentAssetsNetNoncurrent_019e6a50-d126-7ac8-9e42-f02f2b8f8fc9" xlink:href="roku-20260630.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_019e6a50-d126-77e8-a681-8f9664213d42" xlink:to="loc_roku_ContentAssetsNetNoncurrent_019e6a50-d126-7ac8-9e42-f02f2b8f8fc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e6a50-d126-742c-b0e1-894a58e0a200" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-77e8-a681-8f9664213d42" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e6a50-d126-742c-b0e1-894a58e0a200" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="roku-20260630.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_NonoperatingIncomeExpense_019e6a50-d126-7765-911d-7ec2d40837fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019e6a50-d126-7a7e-9295-e94029370899" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7765-911d-7ec2d40837fe" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019e6a50-d126-7a7e-9295-e94029370899" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e6a50-d126-79f3-9b06-f07f07458136" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7765-911d-7ec2d40837fe" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e6a50-d126-79f3-9b06-f07f07458136" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019e6a50-d126-7cce-9854-af1d66d3fecc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e6a50-d126-7920-9646-a48e89f35cb8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7cce-9854-af1d66d3fecc" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e6a50-d126-7920-9646-a48e89f35cb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e6a50-d126-7886-a8f1-5caa9b14d748" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7cce-9854-af1d66d3fecc" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e6a50-d126-7886-a8f1-5caa9b14d748" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e6a50-d126-78d9-851b-73bbd3524de9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e6a50-d126-78a1-8030-4dae9014fdfc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-78d9-851b-73bbd3524de9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e6a50-d126-78a1-8030-4dae9014fdfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e6a50-d126-7cf9-b090-4c35cda4ace5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-78d9-851b-73bbd3524de9" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e6a50-d126-7cf9-b090-4c35cda4ace5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e6a50-d126-7663-955a-d6eacfa5770c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019e6a50-d126-7444-bc07-f459c146689d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7663-955a-d6eacfa5770c" xlink:to="loc_us-gaap_GrossProfit_019e6a50-d126-7444-bc07-f459c146689d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e6a50-d126-7054-bcaa-11fee09e3555" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7663-955a-d6eacfa5770c" xlink:to="loc_us-gaap_OperatingExpenses_019e6a50-d126-7054-bcaa-11fee09e3555" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e6a50-d126-7380-a6b5-cadda065f9f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e6a50-d126-76a4-b423-6d2bbe1908cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7380-a6b5-cadda065f9f2" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019e6a50-d126-76a4-b423-6d2bbe1908cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019e6a50-d126-7346-85cd-70c58c3e19cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7380-a6b5-cadda065f9f2" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019e6a50-d126-7346-85cd-70c58c3e19cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e6a50-d126-75a2-8ce7-cea0a8c723a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7380-a6b5-cadda065f9f2" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e6a50-d126-75a2-8ce7-cea0a8c723a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e6a50-d126-717e-b7f4-8f89270c5039" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e6a50-d126-7746-b579-de2854b263e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-717e-b7f4-8f89270c5039" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e6a50-d126-7746-b579-de2854b263e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e6a50-d126-782e-9f30-7d6ac6c207ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-717e-b7f4-8f89270c5039" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019e6a50-d126-782e-9f30-7d6ac6c207ca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d126-754b-9b37-2d85027bb7c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e6a50-d126-7cb2-9ff9-59b3f07d4092" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-754b-9b37-2d85027bb7c1" xlink:to="loc_us-gaap_NetIncomeLoss_019e6a50-d126-7cb2-9ff9-59b3f07d4092" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e6a50-d126-769c-b04e-88fbe4d4bbb5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-754b-9b37-2d85027bb7c1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e6a50-d126-769c-b04e-88fbe4d4bbb5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e6a50-d126-7796-9278-628b96a2998d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_ShareBasedCompensation_019e6a50-d126-7796-9278-628b96a2998d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e6a50-d126-7afa-99ff-9297a1623755" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_NetIncomeLoss_019e6a50-d126-7afa-99ff-9297a1623755" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_019e6a50-d126-7479-a705-381e59b4a91f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_019e6a50-d126-7479-a705-381e59b4a91f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_019e6a50-d126-778c-89df-03dd37b87519" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_019e6a50-d126-778c-89df-03dd37b87519" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e6a50-d126-7010-b50e-38cfa65f3073" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e6a50-d126-7010-b50e-38cfa65f3073" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e6a50-d126-7b6f-af9c-a10300eb80f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e6a50-d126-7b6f-af9c-a10300eb80f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019e6a50-d126-7e33-a339-643c5d99c9b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019e6a50-d126-7e33-a339-643c5d99c9b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019e6a50-d126-7f85-8e61-a7df3bde1029" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_AssetImpairmentCharges_019e6a50-d126-7f85-8e61-a7df3bde1029" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019e6a50-d126-7c6f-bc91-22b0b4ad9117" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019e6a50-d126-7c6f-bc91-22b0b4ad9117" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019e6a50-d126-757e-b158-05fdec3d86db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019e6a50-d126-757e-b158-05fdec3d86db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AmortizationExpenseAndWriteOffOfContentAssets_019e6a50-d126-749b-84f5-edd90139dbbf" xlink:href="roku-20260630.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_roku_AmortizationExpenseAndWriteOffOfContentAssets_019e6a50-d126-749b-84f5-edd90139dbbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019e6a50-d126-7eca-912d-40873b56249c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019e6a50-d126-7eca-912d-40873b56249c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e6a50-d126-7deb-b315-86e31faf3b68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e6a50-d126-7deb-b315-86e31faf3b68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e6a50-d126-7ab7-ac29-33fcff1960ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e6a50-d126-7ab7-ac29-33fcff1960ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019e6a50-d126-7c70-863e-b9a571c637ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019e6a50-d126-7c70-863e-b9a571c637ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e6a50-d126-794b-9d86-8e27745f67cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e6a50-d126-794b-9d86-8e27745f67cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_019e6a50-d126-79dd-96e9-8c960981edaa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_019e6a50-d126-79dd-96e9-8c960981edaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_IncreaseDecreaseInContentAssetsAndLiabilitiesNet_019e6a50-d126-78df-9b99-5884b90887f9" xlink:href="roku-20260630.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_roku_IncreaseDecreaseInContentAssetsAndLiabilitiesNet_019e6a50-d126-78df-9b99-5884b90887f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_019e6a50-d126-7628-a987-39807affc6e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_019e6a50-d126-7628-a987-39807affc6e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_019e6a50-d126-7e35-bb97-caab8c8b3b4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-74fc-8d33-4bab99fea06d" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_019e6a50-d126-7e35-bb97-caab8c8b3b4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e6a50-d126-74f6-8713-a03169f546ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e6a50-d126-74f6-8713-a03169f546ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e6a50-d126-7066-9dde-5ee74e058b57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e6a50-d126-7066-9dde-5ee74e058b57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019e6a50-d126-70ac-b664-f7892b17e83f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_019e6a50-d126-70ac-b664-f7892b17e83f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_019e6a50-d126-7b87-bc41-35dede6944b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_019e6a50-d126-7b87-bc41-35dede6944b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionOfShorttermInvestments_019e6a50-d126-7113-aef3-8208c1c3011a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionOfShorttermInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionOfShorttermInvestments_019e6a50-d126-7113-aef3-8208c1c3011a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_RepaymentOfConvertibleNoteInvestingActivities_019ea720-5182-7ff0-b926-e790575eb991" xlink:href="roku-20260630.xsd#roku_RepaymentOfConvertibleNoteInvestingActivities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:to="loc_roku_RepaymentOfConvertibleNoteInvestingActivities_019ea720-5182-7ff0-b926-e790575eb991" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_019f960a-4dd0-712e-88fc-b603c98d8500" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-708a-b516-cf729e0cfaf5" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_019f960a-4dd0-712e-88fc-b603c98d8500" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e6a50-d126-79a4-911d-910c4e3eb6e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e6a50-d126-7db0-8d30-725fb3e5dcb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-79a4-911d-910c4e3eb6e8" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e6a50-d126-7db0-8d30-725fb3e5dcb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e6a50-d126-765f-b73b-10e7e391224b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-79a4-911d-910c4e3eb6e8" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e6a50-d126-765f-b73b-10e7e391224b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e6a50-d126-7fa4-b4bd-34b5aad728c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-79a4-911d-910c4e3eb6e8" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e6a50-d126-7fa4-b4bd-34b5aad728c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019ed430-be1e-7bc4-8212-497d1d62a891" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e6a50-d126-79a4-911d-910c4e3eb6e8" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_019ed430-be1e-7bc4-8212-497d1d62a891" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019ea71f-1154-7a7f-89b5-038dc5593a8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e6a50-d126-79a4-911d-910c4e3eb6e8" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019ea71f-1154-7a7f-89b5-038dc5593a8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e6a50-d126-7e46-97e3-7b69a0062364" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e6a50-d126-7db8-b7ed-1c594dafbdc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7e46-97e3-7b69a0062364" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e6a50-d126-7db8-b7ed-1c594dafbdc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-72af-a505-3db6b3830dec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7e46-97e3-7b69a0062364" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e6a50-d126-72af-a505-3db6b3830dec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e6a50-d126-7acd-aaf4-c44144901fdd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d126-7e46-97e3-7b69a0062364" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e6a50-d126-7acd-aaf4-c44144901fdd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/REVENUEScheduleofContractBalancesDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f5-7b2d-9d88-f35f6a9fc165" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e6a50-d1f5-724d-b0fe-ef52df6cb8c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f5-7b2d-9d88-f35f6a9fc165" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e6a50-d1f5-724d-b0fe-ef52df6cb8c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019e6a50-d1f5-7d6b-83a2-1d77292bf55b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f5-7b2d-9d88-f35f6a9fc165" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019e6a50-d1f5-7d6b-83a2-1d77292bf55b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails" xlink:type="simple" xlink:href="roku-20260630.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_IntangibleAssetsGrossExcludingGoodwill_019e6a50-d1f6-7668-a87c-f3576d1f3207" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e6a50-d1f6-74ed-8f26-cb7453f24542" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7668-a87c-f3576d1f3207" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e6a50-d1f6-74ed-8f26-cb7453f24542" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e6a50-d1f6-7544-99e2-0bcaf3cd1eb0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e6a50-d1f6-7a07-b25d-d2866decbcb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7544-99e2-0bcaf3cd1eb0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e6a50-d1f6-7a07-b25d-d2866decbcb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e6a50-d1f6-7596-b634-39583ab5a58b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e6a50-d1f6-79fc-a697-2d2319ee9d98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7596-b634-39583ab5a58b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e6a50-d1f6-79fc-a697-2d2319ee9d98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e6a50-d1f6-713b-a0a2-8d16abf07781" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7596-b634-39583ab5a58b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e6a50-d1f6-713b-a0a2-8d16abf07781" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-794b-953e-35b69328b248" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019e6a50-d1f6-7fd2-aa14-621c2fa5ffdc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-794b-953e-35b69328b248" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019e6a50-d1f6-7fd2-aa14-621c2fa5ffdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e6a50-d1f6-7233-b5b4-9a89c73ca21c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-794b-953e-35b69328b248" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e6a50-d1f6-7233-b5b4-9a89c73ca21c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSScheduleofEstimatedFutureAmortizationExpenseforIntangibleAssetDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7f7d-928c-18641eb9c7f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019e6a50-d1f6-7a0a-9977-38e0641d05ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7f7d-928c-18641eb9c7f5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019e6a50-d1f6-7a0a-9977-38e0641d05ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019e6a50-d1f6-7804-83ae-873778f316ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7f7d-928c-18641eb9c7f5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019e6a50-d1f6-7804-83ae-873778f316ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019e6a50-d1f6-75da-abb1-ddac026d6066" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7f7d-928c-18641eb9c7f5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019e6a50-d1f6-75da-abb1-ddac026d6066" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019e6a50-d1f6-7517-9abc-5c61dae80af1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7f7d-928c-18641eb9c7f5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019e6a50-d1f6-7517-9abc-5c61dae80af1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019e6a50-d1f6-7051-b4d2-7dac23804001" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7f7d-928c-18641eb9c7f5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019e6a50-d1f6-7051-b4d2-7dac23804001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_019e6a50-d1f6-7fa5-bd51-7e885fda2552" xlink:href="roku-20260630.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_019e6a50-d1f6-7f7d-928c-18641eb9c7f5" xlink:to="loc_roku_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_019e6a50-d1f6-7fa5-bd51-7e885fda2552" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccountsReceivableNetDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7c02-b47d-49130d1f744d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_019e6a50-d1f6-74f7-ae3d-65445e117cc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7c02-b47d-49130d1f744d" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_019e6a50-d1f6-74f7-ae3d-65445e117cc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_019e6a50-d1f6-7022-a9c9-11d107963fbc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7c02-b47d-49130d1f744d" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_019e6a50-d1f6-7022-a9c9-11d107963fbc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-738d-aba9-7c9ef707d0eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019e6a50-d1f6-7d57-8732-48b348575a87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-738d-aba9-7c9ef707d0eb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019e6a50-d1f6-7d57-8732-48b348575a87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e6a50-d1f6-7ad1-96cd-bd8c5c452b81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-738d-aba9-7c9ef707d0eb" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e6a50-d1f6-7ad1-96cd-bd8c5c452b81" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_PaymentsDueToContentPublishersCurrent_019e6a50-d1f6-7b08-a49a-f0cff8148e8f" xlink:href="roku-20260630.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_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_roku_PaymentsDueToContentPublishersCurrent_019e6a50-d1f6-7b08-a49a-f0cff8148e8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AccruedCostOfRevenueCurrent_019e6a50-d1f6-7166-a1b6-ceba287c8e01" xlink:href="roku-20260630.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_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_roku_AccruedCostOfRevenueCurrent_019e6a50-d1f6-7166-a1b6-ceba287c8e01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_019e6a50-d1f6-7cb9-a1d8-c069c7f3feb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_019e6a50-d1f6-7cb9-a1d8-c069c7f3feb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e6a50-d1f6-70c5-978b-5a744c40c116" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e6a50-d1f6-70c5-978b-5a744c40c116" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_InventoryReceivedNotBilled_019f8518-d126-78fa-8f97-f2f129f7fbdd" xlink:href="roku-20260630.xsd#roku_InventoryReceivedNotBilled"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_roku_InventoryReceivedNotBilled_019f8518-d126-78fa-8f97-f2f129f7fbdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AccruedLegalAndLicensingFees_019e6a50-d1f6-7619-8445-5b03ea97b9f5" xlink:href="roku-20260630.xsd#roku_AccruedLegalAndLicensingFees"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_roku_AccruedLegalAndLicensingFees_019e6a50-d1f6-7619-8445-5b03ea97b9f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ContentLiabilityCurrent_019e6a50-d1f6-7836-ad8e-3c5ab934b6ff" xlink:href="roku-20260630.xsd#roku_ContentLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_roku_ContentLiabilityCurrent_019e6a50-d1f6-7836-ad8e-3c5ab934b6ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019e6a50-d1f6-73d5-8bd8-2fd41106eb44" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019e6a50-d1f6-73d5-8bd8-2fd41106eb44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019e6a50-d1f6-7076-8c2a-8ffd833d2757" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e6a50-d1f6-7fe4-812d-9166a6d71b28" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019e6a50-d1f6-7076-8c2a-8ffd833d2757" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofOtherLongTermLiabilitiesDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-79b8-8ae9-e95609ca90fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ContentLiabilityNoncurrent_019e6a50-d1f6-7fef-b329-f0305cb28523" xlink:href="roku-20260630.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_019e6a50-d1f6-79b8-8ae9-e95609ca90fc" xlink:to="loc_roku_ContentLiabilityNoncurrent_019e6a50-d1f6-7fef-b329-f0305cb28523" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019e6a50-d1f6-7491-812e-6b4a331f6865" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_OtherLiabilitiesNoncurrent_019e6a50-d1f6-79b8-8ae9-e95609ca90fc" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019e6a50-d1f6-7491-812e-6b4a331f6865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_019e6a50-d1f6-76e1-aa72-bdd6e4145633" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherSundryLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019e6a50-d1f6-79b8-8ae9-e95609ca90fc" xlink:to="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_019e6a50-d1f6-76e1-aa72-bdd6e4145633" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/CONTENTASSETSScheduleofAmortizationofContentAssetsDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7835-b461-280044fc6668" xlink:href="roku-20260630.xsd#roku_AmortizationExpenseOfContentAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AmortizationExpenseOfLicensedContentAssets_019e6a50-d1f6-743b-930a-7981f9af32f5" xlink:href="roku-20260630.xsd#roku_AmortizationExpenseOfLicensedContentAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_roku_AmortizationExpenseOfContentAssets_019e6a50-d1f6-7835-b461-280044fc6668" xlink:to="loc_roku_AmortizationExpenseOfLicensedContentAssets_019e6a50-d1f6-743b-930a-7981f9af32f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_AmortizationExpenseOfProducedContentAssets_019e6a50-d1f6-74ba-8a63-2003a9185668" xlink:href="roku-20260630.xsd#roku_AmortizationExpenseOfProducedContentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_roku_AmortizationExpenseOfContentAssets_019e6a50-d1f6-7835-b461-280044fc6668" xlink:to="loc_roku_AmortizationExpenseOfProducedContentAssets_019e6a50-d1f6-74ba-8a63-2003a9185668" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/FAIRVALUEDISCLOSUREScheduleofFinancialAssetsMeasuredatFairValueDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7e30-b64f-19bbd3f44277" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019e6a50-d1f6-7792-9545-0ede6c1a7334" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7e30-b64f-19bbd3f44277" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019e6a50-d1f6-7792-9545-0ede6c1a7334" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019e6a50-d1f6-788a-b824-b0dfb53af381" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7e30-b64f-19bbd3f44277" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019e6a50-d1f6-788a-b824-b0dfb53af381" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019e6a50-d1f6-791d-b3bf-a976b484b8ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e6a50-d1f6-7339-a8a0-78b290a1c63a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-791d-b3bf-a976b484b8ed" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e6a50-d1f6-7339-a8a0-78b290a1c63a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019e6a50-d1f6-741f-a6c9-4b5ad4f08363" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-791d-b3bf-a976b484b8ed" xlink:to="loc_us-gaap_ShortTermInvestments_019e6a50-d1f6-741f-a6c9-4b5ad4f08363" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofComponentsofLeaseExpenseDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7482-a52f-aa99ec5368a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_019e6a50-d1f6-76e0-ab97-40bf533d07aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7482-a52f-aa99ec5368a0" xlink:to="loc_us-gaap_OperatingLeaseCost_019e6a50-d1f6-76e0-ab97-40bf533d07aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_019e6a50-d1f6-7a65-a300-94cb9b11ac6b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7482-a52f-aa99ec5368a0" xlink:to="loc_us-gaap_VariableLeaseCost_019e6a50-d1f6-7a65-a300-94cb9b11ac6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_019e6a50-d1f6-7f9a-a13e-3c113bd4905c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7482-a52f-aa99ec5368a0" xlink:to="loc_us-gaap_SubleaseIncome_019e6a50-d1f6-7f9a-a13e-3c113bd4905c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofSupplementalBalanceSheetInformationRelatedtoLeasesDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7dbd-be88-ededbac4e065" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e6a50-d1f6-7aed-bbe3-c9180ad8e18b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7dbd-be88-ededbac4e065" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e6a50-d1f6-7aed-bbe3-c9180ad8e18b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e6a50-d1f6-7c50-a739-8a054f69fde6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7dbd-be88-ededbac4e065" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e6a50-d1f6-7c50-a739-8a054f69fde6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7666-b1ba-4864abaaa3ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e6a50-d1f6-7c97-b124-af0b8469f778" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7666-b1ba-4864abaaa3ef" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e6a50-d1f6-7c97-b124-af0b8469f778" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e6a50-d1f6-7165-9046-353cd941dd04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7666-b1ba-4864abaaa3ef" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e6a50-d1f6-7165-9046-353cd941dd04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e6a50-d1f6-7a0d-be51-2a9269c12674" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7666-b1ba-4864abaaa3ef" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e6a50-d1f6-7a0d-be51-2a9269c12674" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e6a50-d1f6-7c58-9761-1c4ba7428f02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7666-b1ba-4864abaaa3ef" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e6a50-d1f6-7c58-9761-1c4ba7428f02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e6a50-d1f6-75a9-b53a-79deeb587551" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7666-b1ba-4864abaaa3ef" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e6a50-d1f6-75a9-b53a-79deeb587551" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019e6a50-d1f6-7151-9b15-9c6b670cb0e1" xlink:href="roku-20260630.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_019e6a50-d1f6-7666-b1ba-4864abaaa3ef" xlink:to="loc_roku_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019e6a50-d1f6-7151-9b15-9c6b670cb0e1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails_1" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7640-a3ce-c579d53cf278" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e6a50-d1f6-774b-99f6-0822c65a27e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7640-a3ce-c579d53cf278" xlink:to="loc_us-gaap_OperatingLeaseLiability_019e6a50-d1f6-774b-99f6-0822c65a27e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_ExpectedTenantImprovementAllowance_019e6a50-d1f6-7a8c-ba05-3da0aee1a839" xlink:href="roku-20260630.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_019e6a50-d1f6-7640-a3ce-c579d53cf278" xlink:to="loc_roku_ExpectedTenantImprovementAllowance_019e6a50-d1f6-7a8c-ba05-3da0aee1a839" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e6a50-d1f6-75ea-9189-3d2b3bb3c6aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7640-a3ce-c579d53cf278" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e6a50-d1f6-75ea-9189-3d2b3bb3c6aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/STOCKHOLDERSEQUITYScheduleofReservedSharesofCommonStockforIssuanceDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7be9-be1b-d9ffded2d159" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_CumulativeCommonStockAwardsGranted_019e6a50-d1f6-7180-836e-fb4ba5c7acce" xlink:href="roku-20260630.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_019e6a50-d1f6-7be9-be1b-d9ffded2d159" xlink:to="loc_roku_CumulativeCommonStockAwardsGranted_019e6a50-d1f6-7180-836e-fb4ba5c7acce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_CumulativeCommonStockAwardsAvailableForIssuance_019e6a50-d1f6-7268-8cb3-5489b5003b8b" xlink:href="roku-20260630.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_019e6a50-d1f6-7be9-be1b-d9ffded2d159" xlink:to="loc_roku_CumulativeCommonStockAwardsAvailableForIssuance_019e6a50-d1f6-7268-8cb3-5489b5003b8b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/COMMITMENTSANDCONTINGENCIESDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7fae-ad94-f831f9148d73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_019e6a50-d1f6-7347-951c-ef4ca8e74fbc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7fae-ad94-f831f9148d73" xlink:to="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_019e6a50-d1f6-7347-951c-ef4ca8e74fbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_019e6a50-d1f6-7cdf-a29d-b3838c45f28e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7fae-ad94-f831f9148d73" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_019e6a50-d1f6-7cdf-a29d-b3838c45f28e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_019e6a50-d1f6-7ce5-b4ab-90e5f92b5777" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7fae-ad94-f831f9148d73" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_019e6a50-d1f6-7ce5-b4ab-90e5f92b5777" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_019e6a50-d1f6-7fff-934d-83c85e11e483" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7fae-ad94-f831f9148d73" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_019e6a50-d1f6-7fff-934d-83c85e11e483" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthYear_019e6a50-d1f6-70cf-9dbe-aeaf713a6348" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7fae-ad94-f831f9148d73" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthYear_019e6a50-d1f6-70cf-9dbe-aeaf713a6348" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_roku_PurchaseObligationDueAfterFourthYear_019e6a50-d1f6-79a4-9495-60eb01af76ff" xlink:href="roku-20260630.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_019e6a50-d1f6-7fae-ad94-f831f9148d73" xlink:to="loc_roku_PurchaseObligationDueAfterFourthYear_019e6a50-d1f6-79a4-9495-60eb01af76ff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.roku.com/role/NETINCOMELOSSPERSHAREScheduleofCalculationofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="simple" xlink:href="roku-20260630.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_019e6a50-d1f6-7ad7-9d6f-d8067c7023b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e6a50-d1f6-7ca7-86fe-f2ba33b00abd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7ad7-9d6f-d8067c7023b0" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e6a50-d1f6-7ca7-86fe-f2ba33b00abd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e6a50-d1f6-79d6-a265-48a37ffeed11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e6a50-d1f6-7ad7-9d6f-d8067c7023b0" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e6a50-d1f6-79d6-a265-48a37ffeed11" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
