feat: implement CLI for XBRL parsing and validation

- Parse command with optional stats flag
- Validate command with SEC EDGAR profile support
- Benchmark command for performance testing
- Colored output for better UX
This commit is contained in:
Stefano Amorelli
2025-08-16 17:25:06 +03:00
parent fd5b3a968d
commit 46ecbd2635
20 changed files with 25911 additions and 0 deletions

55
.gitattributes vendored Normal file
View File

@@ -0,0 +1,55 @@
# Auto detect text files and perform LF normalization
* text=auto
# Rust files
*.rs text eol=lf
*.toml text eol=lf
Cargo.lock text eol=lf
# Python files
*.py text eol=lf
*.pyx text eol=lf
*.pxd text eol=lf
# Documentation
*.md text eol=lf
*.txt text eol=lf
LICENSE text eol=lf
# Config files
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.xml text eol=lf
*.xsd text eol=lf
*.xbrl text eol=lf
# Shell scripts
*.sh text eol=lf
*.bash text eol=lf
# Git files
.gitignore text eol=lf
.gitattributes text eol=lf
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary
*.tar binary
*.7z binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
# Linguist overrides - ensure Rust is recognized as primary language
*.rs linguist-language=Rust
benchmarks/*.py linguist-documentation
scripts/*.py linguist-documentation
examples/* linguist-documentation

125
.gitignore vendored Normal file
View File

@@ -0,0 +1,125 @@
# Rust
/target/
**/*.rs.bk
*.pdb
Cargo.lock
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
ENV/
env/
.venv
.env
# Virtual environments
benchmarks/venv/
**/venv/
**/virtualenv/
**/.venv/
# Test data and fixtures
test_data/
benchmarks/fixtures/
fixtures/
# Benchmark outputs
*.png
*.json
benchmark_results/
benchmarks/*.png
benchmarks/*.json
benchmarks/*_results.json
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
.DS_Store
# Build artifacts
*.o
*.a
*.so
*.dll
*.exe
*.out
# Documentation
/target/doc/
/target/debug/
/target/release/
# Logs
*.log
logs/
# Coverage
*.profraw
*.profdata
/target/coverage/
tarpaulin-report.html
cobertura.xml
# OS files
.DS_Store
Thumbs.db
desktop.ini
# Temporary files
*.tmp
*.temp
*.bak
.cache/
tmp/
# Large test files
*.xbrl
*.xml
!examples/*.xml
!tests/fixtures/*.xml
# Downloaded SEC filings
benchmarks/fixtures/
scripts/fixtures/
# Benchmark comparison artifacts
benchmarks/benchmark_results.png
benchmarks/synthetic_benchmark_chart.png
benchmarks/real_benchmark_chart.png
benchmarks/sec_comparison_results.json
benchmarks/synthetic_benchmark_results.json
benchmarks/real_benchmark_results.json
benchmarks/real_filing_results.json
# Python artifacts from benchmarking
*.pyc
.pytest_cache/
.coverage
htmlcov/
.tox/
.hypothesis/
# Backup files
*.backup
*.old
*.orig
# Archives
*.zip
*.tar.gz
*.tar.bz2
*.7z
*.rar
# Keep important config examples
!.gitignore
!.github/
!examples/.gitkeep
!tests/fixtures/.gitkeep

27
benches/parser.rs Normal file
View File

@@ -0,0 +1,27 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use crabrl::Parser;
fn parse_small_file(c: &mut Criterion) {
let parser = Parser::new();
let content = include_bytes!("../tests/fixtures/small.xml");
c.bench_function("parse_small", |b| {
b.iter(|| {
parser.parse_bytes(black_box(content))
});
});
}
fn parse_medium_file(c: &mut Criterion) {
let parser = Parser::new();
let content = include_bytes!("../tests/fixtures/medium.xml");
c.bench_function("parse_medium", |b| {
b.iter(|| {
parser.parse_bytes(black_box(content))
});
});
}
criterion_group!(benches, parse_small_file, parse_medium_file);
criterion_main!(benches);

71
benchmarks/compare.py Normal file
View File

@@ -0,0 +1,71 @@
#!/usr/bin/env python3
"""
Compare crabrl performance with Arelle
"""
import subprocess
import time
import sys
from pathlib import Path
def run_crabrl(filepath):
"""Run crabrl and measure time"""
cmd = ["../target/release/crabrl", "parse", filepath]
start = time.perf_counter()
result = subprocess.run(cmd, capture_output=True, text=True)
elapsed = (time.perf_counter() - start) * 1000
if result.returncode == 0:
# Parse output for fact count
facts = 0
for line in result.stdout.split('\n'):
if 'Facts:' in line:
facts = int(line.split(':')[1].strip())
break
return elapsed, facts
return None, 0
def run_arelle(filepath):
"""Run Arelle and measure time"""
try:
cmd = ["python3", "-m", "arelle.CntlrCmdLine",
"--file", filepath, "--skipDTS", "--logLevel", "ERROR"]
start = time.perf_counter()
result = subprocess.run(cmd, capture_output=True, text=True, timeout=30)
elapsed = (time.perf_counter() - start) * 1000
if result.returncode == 0:
return elapsed
return None
except:
return None
def main():
if len(sys.argv) < 2:
print("Usage: compare.py <xbrl-file>")
sys.exit(1)
filepath = sys.argv[1]
print(f"Comparing performance on: {filepath}\n")
# Run crabrl
crabrl_time, facts = run_crabrl(filepath)
if crabrl_time:
print(f"crabrl: {crabrl_time:.1f}ms ({facts} facts)")
else:
print("crabrl: Failed")
# Run Arelle
arelle_time = run_arelle(filepath)
if arelle_time:
print(f"Arelle: {arelle_time:.1f}ms")
else:
print("Arelle: Failed or not installed")
# Calculate speedup
if crabrl_time and arelle_time:
speedup = arelle_time / crabrl_time
print(f"\nSpeedup: {speedup:.1f}x faster")
if __name__ == "__main__":
main()

View File

@@ -0,0 +1,214 @@
#!/usr/bin/env python3
"""Compare performance between crabrl and Arelle."""
import os
import sys
import time
import subprocess
import json
import statistics
from pathlib import Path
from tabulate import tabulate
import matplotlib.pyplot as plt
# Add parent directory to path for imports
sys.path.insert(0, str(Path(__file__).parent.parent))
def benchmark_arelle(file_path, runs=3):
"""Benchmark Arelle parsing performance."""
times = []
for _ in range(runs):
start = time.perf_counter()
# Run Arelle in subprocess to isolate memory
result = subprocess.run([
sys.executable, "-c",
f"""
import sys
sys.path.insert(0, 'venv/lib/python{sys.version_info.major}.{sys.version_info.minor}/site-packages')
from arelle import Cntlr
from arelle import ModelManager
# Suppress Arelle output
import logging
logging.getLogger("arelle").setLevel(logging.ERROR)
controller = Cntlr.Cntlr(logFileName=None)
controller.webCache.workOffline = True
modelManager = ModelManager.initialize(controller)
# Load and parse the XBRL file
modelXbrl = modelManager.load('{file_path}')
if modelXbrl:
facts = len(modelXbrl.facts)
contexts = len(modelXbrl.contexts)
units = len(modelXbrl.units)
print(f"{{facts}},{{contexts}},{{units}}")
modelXbrl.close()
"""
], capture_output=True, text=True, cwd=Path(__file__).parent)
end = time.perf_counter()
if result.returncode == 0 and result.stdout:
times.append(end - start)
if len(times) == 1: # Print counts on first run
parts = result.stdout.strip().split(',')
if len(parts) == 3:
print(f" Arelle found: {parts[0]} facts, {parts[1]} contexts, {parts[2]} units")
else:
print(f" Arelle error: {result.stderr}")
if times:
return {
'mean': statistics.mean(times),
'median': statistics.median(times),
'stdev': statistics.stdev(times) if len(times) > 1 else 0,
'min': min(times),
'max': max(times),
'runs': len(times)
}
return None
def benchmark_crabrl(file_path, runs=3):
"""Benchmark crabrl parsing performance."""
times = []
# Build the benchmark binary if needed
subprocess.run(["cargo", "build", "--release", "--example", "benchmark_single"],
capture_output=True, cwd=Path(__file__).parent.parent)
for _ in range(runs):
start = time.perf_counter()
result = subprocess.run([
"../target/release/examples/benchmark_single",
file_path
], capture_output=True, text=True, cwd=Path(__file__).parent)
end = time.perf_counter()
if result.returncode == 0:
times.append(end - start)
if len(times) == 1 and result.stdout: # Print counts on first run
print(f" crabrl output: {result.stdout.strip()}")
else:
print(f" crabrl error: {result.stderr}")
if times:
return {
'mean': statistics.mean(times),
'median': statistics.median(times),
'stdev': statistics.stdev(times) if len(times) > 1 else 0,
'min': min(times),
'max': max(times),
'runs': len(times)
}
return None
def main():
"""Run comparative benchmarks."""
print("=" * 80)
print("XBRL Parser Performance Comparison: crabrl vs Arelle")
print("=" * 80)
test_files = [
("Tiny (10 facts)", "../test_data/test_tiny.xbrl"),
("Small (100 facts)", "../test_data/test_small.xbrl"),
("Medium (1K facts)", "../test_data/test_medium.xbrl"),
("Large (10K facts)", "../test_data/test_large.xbrl"),
("Huge (100K facts)", "../test_data/test_huge.xbrl"),
]
results = []
for name, file_path in test_files:
if not Path(file_path).exists():
print(f"Skipping {name}: file not found")
continue
file_size_mb = Path(file_path).stat().st_size / (1024 * 1024)
print(f"\nBenchmarking {name} ({file_size_mb:.2f} MB)...")
# Benchmark Arelle
print(" Running Arelle...")
arelle_stats = benchmark_arelle(file_path, runs=5)
# Benchmark crabrl
print(" Running crabrl...")
crabrl_stats = benchmark_crabrl(file_path, runs=5)
if arelle_stats and crabrl_stats:
speedup = arelle_stats['median'] / crabrl_stats['median']
results.append({
'File': name,
'Size (MB)': f"{file_size_mb:.2f}",
'Arelle (ms)': f"{arelle_stats['median']*1000:.1f}",
'crabrl (ms)': f"{crabrl_stats['median']*1000:.1f}",
'Speedup': f"{speedup:.1f}x",
'arelle_raw': arelle_stats['median'],
'crabrl_raw': crabrl_stats['median'],
})
# Print results table
print("\n" + "=" * 80)
print("RESULTS SUMMARY")
print("=" * 80)
if results:
table_data = [{k: v for k, v in r.items() if not k.endswith('_raw')} for r in results]
print(tabulate(table_data, headers="keys", tablefmt="grid"))
# Calculate average speedup
speedups = [r['arelle_raw'] / r['crabrl_raw'] for r in results]
avg_speedup = statistics.mean(speedups)
print(f"\nAverage speedup: {avg_speedup:.1f}x faster than Arelle")
# Create performance chart
create_performance_chart(results)
else:
print("No results to display")
def create_performance_chart(results):
"""Create a performance comparison chart."""
labels = [r['File'].split('(')[0].strip() for r in results]
arelle_times = [r['arelle_raw'] * 1000 for r in results]
crabrl_times = [r['crabrl_raw'] * 1000 for r in results]
x = range(len(labels))
width = 0.35
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(14, 6))
# Bar chart
ax1.bar([i - width/2 for i in x], arelle_times, width, label='Arelle', color='#FF6B6B')
ax1.bar([i + width/2 for i in x], crabrl_times, width, label='crabrl', color='#4ECDC4')
ax1.set_xlabel('File Size')
ax1.set_ylabel('Time (ms)')
ax1.set_title('Parsing Time Comparison')
ax1.set_xticks(x)
ax1.set_xticklabels(labels, rotation=45)
ax1.legend()
ax1.grid(True, alpha=0.3)
# Speedup chart
speedups = [a/c for a, c in zip(arelle_times, crabrl_times)]
ax2.bar(x, speedups, color='#95E77E')
ax2.set_xlabel('File Size')
ax2.set_ylabel('Speedup Factor')
ax2.set_title('crabrl Speedup over Arelle')
ax2.set_xticks(x)
ax2.set_xticklabels(labels, rotation=45)
ax2.grid(True, alpha=0.3)
# Add value labels on bars
for i, v in enumerate(speedups):
ax2.text(i, v + 0.5, f'{v:.1f}x', ha='center', va='bottom')
plt.tight_layout()
plt.savefig('benchmark_results.png', dpi=150)
print(f"\nPerformance chart saved to: benchmarks/benchmark_results.png")
if __name__ == "__main__":
main()

View File

@@ -0,0 +1,680 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:a6458307-1661-4bc5-9a9c-8ff2020c9988,g:e8bc7e8d-5cbe-4807-8e11-79b67ab03249-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:goog="http://www.google.com/20231231" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types1="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.google.com/20231231">
<xs:import namespace="http://fasb.org/srt/2023" schemaLocation="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd"/>
<xs:import namespace="http://fasb.org/us-gaap/2023" schemaLocation="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
<xs:import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd"/>
<xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/country/2023" schemaLocation="https://xbrl.sec.gov/country/2023/country-2023.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/dei/2023" schemaLocation="https://xbrl.sec.gov/dei/2023/dei-2023.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/ecd/2023" schemaLocation="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd"/>
<xs:annotation>
<xs:appinfo>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="goog-20231231_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="goog-20231231_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="goog-20231231_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="goog-20231231_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
<link:roleType id="CoverPage" roleURI="http://www.google.com/role/CoverPage">
<link:definition>0000001 - Document - Cover Page</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="AuditInformation" roleURI="http://www.google.com/role/AuditInformation">
<link:definition>0000002 - Document - Audit Information</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDBALANCESHEETS" roleURI="http://www.google.com/role/CONSOLIDATEDBALANCESHEETS">
<link:definition>0000003 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://www.google.com/role/CONSOLIDATEDBALANCESHEETSParenthetical">
<link:definition>0000004 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFINCOME" roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFINCOME">
<link:definition>0000005 - Statement - CONSOLIDATED STATEMENTS OF INCOME</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME">
<link:definition>0000006 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEParenthetical" roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEParenthetical">
<link:definition>0000007 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY">
<link:definition>0000008 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS">
<link:definition>0000009 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPolicies" roleURI="http://www.google.com/role/SummaryofSignificantAccountingPolicies">
<link:definition>0000010 - Disclosure - Summary of Significant Accounting Policies</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Revenues" roleURI="http://www.google.com/role/Revenues">
<link:definition>0000011 - Disclosure - Revenues</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstruments" roleURI="http://www.google.com/role/FinancialInstruments">
<link:definition>0000012 - Disclosure - Financial Instruments</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Leases" roleURI="http://www.google.com/role/Leases">
<link:definition>0000013 - Disclosure - Leases</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="VariableInterestEntities" roleURI="http://www.google.com/role/VariableInterestEntities">
<link:definition>0000014 - Disclosure - Variable Interest Entities</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Debt" roleURI="http://www.google.com/role/Debt">
<link:definition>0000015 - Disclosure - Debt</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformation" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformation">
<link:definition>0000016 - Disclosure - Supplemental Financial Statement Information</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="WorkforceReductionandOtherInitiatives" roleURI="http://www.google.com/role/WorkforceReductionandOtherInitiatives">
<link:definition>0000017 - Disclosure - Workforce Reduction and Other Initiatives</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Goodwill" roleURI="http://www.google.com/role/Goodwill">
<link:definition>0000018 - Disclosure - Goodwill</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CommitmentsandContingencies" roleURI="http://www.google.com/role/CommitmentsandContingencies">
<link:definition>0000019 - Disclosure - Commitments and Contingencies</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="StockholdersEquity" roleURI="http://www.google.com/role/StockholdersEquity">
<link:definition>0000020 - Disclosure - Stockholders' Equity</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="NetIncomePerShare" roleURI="http://www.google.com/role/NetIncomePerShare">
<link:definition>0000021 - Disclosure - Net Income Per Share</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CompensationPlans" roleURI="http://www.google.com/role/CompensationPlans">
<link:definition>0000022 - Disclosure - Compensation Plans</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxes" roleURI="http://www.google.com/role/IncomeTaxes">
<link:definition>0000023 - Disclosure - Income Taxes</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="InformationaboutSegmentsandGeographicAreas" roleURI="http://www.google.com/role/InformationaboutSegmentsandGeographicAreas">
<link:definition>0000024 - Disclosure - Information about Segments and Geographic Areas</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SubsequentEvent" roleURI="http://www.google.com/role/SubsequentEvent">
<link:definition>0000025 - Disclosure - Subsequent Event</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ScheduleIIValuationandQualifyingAccounts" roleURI="http://www.google.com/role/ScheduleIIValuationandQualifyingAccounts">
<link:definition>0000026 - Disclosure - Schedule II: Valuation and Qualifying Accounts</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesPolicies" roleURI="http://www.google.com/role/SummaryofSignificantAccountingPoliciesPolicies">
<link:definition>9954471 - Disclosure - Summary of Significant Accounting Policies (Policies)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenuesTables" roleURI="http://www.google.com/role/RevenuesTables">
<link:definition>9954472 - Disclosure - Revenues (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsTables" roleURI="http://www.google.com/role/FinancialInstrumentsTables">
<link:definition>9954473 - Disclosure - Financial Instruments (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesTables" roleURI="http://www.google.com/role/LeasesTables">
<link:definition>9954474 - Disclosure - Leases (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtTables" roleURI="http://www.google.com/role/DebtTables">
<link:definition>9954475 - Disclosure - Debt (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformationTables" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationTables">
<link:definition>9954476 - Disclosure - Supplemental Financial Statement Information (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="WorkforceReductionandOtherInitiativesTables" roleURI="http://www.google.com/role/WorkforceReductionandOtherInitiativesTables">
<link:definition>9954477 - Disclosure - Workforce Reduction and Other Initiatives (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="GoodwillTables" roleURI="http://www.google.com/role/GoodwillTables">
<link:definition>9954478 - Disclosure - Goodwill (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="StockholdersEquityTables" roleURI="http://www.google.com/role/StockholdersEquityTables">
<link:definition>9954479 - Disclosure - Stockholders' Equity (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="NetIncomePerShareTables" roleURI="http://www.google.com/role/NetIncomePerShareTables">
<link:definition>9954480 - Disclosure - Net Income Per Share (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CompensationPlansTables" roleURI="http://www.google.com/role/CompensationPlansTables">
<link:definition>9954481 - Disclosure - Compensation Plans (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesTables" roleURI="http://www.google.com/role/IncomeTaxesTables">
<link:definition>9954482 - Disclosure - Income Taxes (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="InformationaboutSegmentsandGeographicAreasTables" roleURI="http://www.google.com/role/InformationaboutSegmentsandGeographicAreasTables">
<link:definition>9954483 - Disclosure - Information about Segments and Geographic Areas (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesNarrativeDetails" roleURI="http://www.google.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails">
<link:definition>9954484 - Disclosure - Summary of Significant Accounting Policies - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenuesRevenuebySegmentDetails" roleURI="http://www.google.com/role/RevenuesRevenuebySegmentDetails">
<link:definition>9954485 - Disclosure - Revenues - Revenue by Segment (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenuesRevenuebyGeographicLocationDetails" roleURI="http://www.google.com/role/RevenuesRevenuebyGeographicLocationDetails">
<link:definition>9954486 - Disclosure - Revenues - Revenue by Geographic Location (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenuesNarrativeDetails" roleURI="http://www.google.com/role/RevenuesNarrativeDetails">
<link:definition>9954487 - Disclosure - Revenues - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenuesNarrativeDetails_1" roleURI="http://www.google.com/role/RevenuesNarrativeDetails_1">
<link:definition>9954487 - Disclosure - Revenues - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsNarrativeDetails" roleURI="http://www.google.com/role/FinancialInstrumentsNarrativeDetails">
<link:definition>9954488 - Disclosure - Financial Instruments - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsMarketableSecuritiesDetails" roleURI="http://www.google.com/role/FinancialInstrumentsMarketableSecuritiesDetails">
<link:definition>9954489 - Disclosure - Financial Instruments - Marketable Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsContractualMaturityDateofMarketableDebtSecuritiesDetails" roleURI="http://www.google.com/role/FinancialInstrumentsContractualMaturityDateofMarketableDebtSecuritiesDetails">
<link:definition>9954490 - Disclosure - Financial Instruments - Contractual Maturity Date of Marketable Debt Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsGrossUnrealizedLossesandFairValuesforInvestmentsinUnrealizedLossPositionDetails" roleURI="http://www.google.com/role/FinancialInstrumentsGrossUnrealizedLossesandFairValuesforInvestmentsinUnrealizedLossPositionDetails">
<link:definition>9954491 - Disclosure - Financial Instruments - Gross Unrealized Losses and Fair Values for Investments in Unrealized Loss Position (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsGainsandLossesonEquitySecuritiesDetails" roleURI="http://www.google.com/role/FinancialInstrumentsGainsandLossesonEquitySecuritiesDetails">
<link:definition>9954492 - Disclosure - Financial Instruments - Gains and Losses on Equity Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails" roleURI="http://www.google.com/role/FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails">
<link:definition>9954493 - Disclosure - Financial Instruments - Carrying Amount of Equity Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails_1" roleURI="http://www.google.com/role/FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails_1">
<link:definition>9954493 - Disclosure - Financial Instruments - Carrying Amount of Equity Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsMeasurementAlternativeInvestmentsDetails" roleURI="http://www.google.com/role/FinancialInstrumentsMeasurementAlternativeInvestmentsDetails">
<link:definition>9954494 - Disclosure - Financial Instruments - Measurement Alternative Investments (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsDerivativeNotionalAmountsDetails" roleURI="http://www.google.com/role/FinancialInstrumentsDerivativeNotionalAmountsDetails">
<link:definition>9954495 - Disclosure - Financial Instruments - Derivative Notional Amounts (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsFairValuesofOutstandingDerivativeInstrumentsDetails" roleURI="http://www.google.com/role/FinancialInstrumentsFairValuesofOutstandingDerivativeInstrumentsDetails">
<link:definition>9954496 - Disclosure - Financial Instruments - Fair Values of Outstanding Derivative Instruments (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsEffectofDerivativeInstrumentsonIncomeandAccumulatedOtherComprehensiveIncomeDetails" roleURI="http://www.google.com/role/FinancialInstrumentsEffectofDerivativeInstrumentsonIncomeandAccumulatedOtherComprehensiveIncomeDetails">
<link:definition>9954497 - Disclosure - Financial Instruments - Effect of Derivative Instruments on Income and Accumulated Other Comprehensive Income (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsOffsettingofFinancialAssetsandFinancialLiabilitiesDetails" roleURI="http://www.google.com/role/FinancialInstrumentsOffsettingofFinancialAssetsandFinancialLiabilitiesDetails">
<link:definition>9954498 - Disclosure - Financial Instruments - Offsetting of Financial Assets and Financial Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsSummaryofGainsandLossesforDebtSecuritiesDetails" roleURI="http://www.google.com/role/FinancialInstrumentsSummaryofGainsandLossesforDebtSecuritiesDetails">
<link:definition>9954499 - Disclosure - Financial Instruments - Summary of Gains and Losses for Debt Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesComponentsofOperatingLeaseExpenseDetails" roleURI="http://www.google.com/role/LeasesComponentsofOperatingLeaseExpenseDetails">
<link:definition>9954500 - Disclosure - Leases - Components of Operating Lease Expense (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesSupplementalCashFlowInformationDetails" roleURI="http://www.google.com/role/LeasesSupplementalCashFlowInformationDetails">
<link:definition>9954501 - Disclosure - Leases - Supplemental Cash Flow Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesNarrativeDetails" roleURI="http://www.google.com/role/LeasesNarrativeDetails">
<link:definition>9954502 - Disclosure - Leases - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesFutureMinimumLeasePaymentsDetails" roleURI="http://www.google.com/role/LeasesFutureMinimumLeasePaymentsDetails">
<link:definition>9954503 - Disclosure - Leases - Future Minimum Lease Payments (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesFutureMinimumLeasePaymentsDetails_1" roleURI="http://www.google.com/role/LeasesFutureMinimumLeasePaymentsDetails_1">
<link:definition>9954503 - Disclosure - Leases - Future Minimum Lease Payments (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="VariableInterestEntitiesNarrativeDetails" roleURI="http://www.google.com/role/VariableInterestEntitiesNarrativeDetails">
<link:definition>9954504 - Disclosure - Variable Interest Entities - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtNarrativeDetails" roleURI="http://www.google.com/role/DebtNarrativeDetails">
<link:definition>9954505 - Disclosure - Debt - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtLongTermDebtDetails" roleURI="http://www.google.com/role/DebtLongTermDebtDetails">
<link:definition>9954506 - Disclosure - Debt - Long-Term Debt (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtFuturePrincipalPaymentsforBorrowingsDetails" roleURI="http://www.google.com/role/DebtFuturePrincipalPaymentsforBorrowingsDetails">
<link:definition>9954507 - Disclosure - Debt - Future Principal Payments for Borrowings (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformationNarrativeDetails" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationNarrativeDetails">
<link:definition>9954508 - Disclosure - Supplemental Financial Statement Information - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformationPropertyandEquipmentDetails" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationPropertyandEquipmentDetails">
<link:definition>9954509 - Disclosure - Supplemental Financial Statement Information - Property and Equipment (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformationAccruedExpensesandOtherCurrentLiabilitiesDetails" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationAccruedExpensesandOtherCurrentLiabilitiesDetails">
<link:definition>9954510 - Disclosure - Supplemental Financial Statement Information - Accrued Expenses and Other Current Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformationComponentsofAccumulatedOtherComprehensiveIncomeDetails" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationComponentsofAccumulatedOtherComprehensiveIncomeDetails">
<link:definition>9954511 - Disclosure - Supplemental Financial Statement Information - Components of Accumulated Other Comprehensive Income (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformationReclassificationsOutofAccumulatedOtherComprehensiveIncomeLossDetails" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationReclassificationsOutofAccumulatedOtherComprehensiveIncomeLossDetails">
<link:definition>9954512 - Disclosure - Supplemental Financial Statement Information - Reclassifications Out of Accumulated Other Comprehensive Income (Loss) (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SupplementalFinancialStatementInformationComponentsofOtherIncomeExpenseNetDetails" roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationComponentsofOtherIncomeExpenseNetDetails">
<link:definition>9954513 - Disclosure - Supplemental Financial Statement Information - Components of Other Income (Expense), Net (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="WorkforceReductionandOtherInitiativesNarrativeDetails" roleURI="http://www.google.com/role/WorkforceReductionandOtherInitiativesNarrativeDetails">
<link:definition>9954514 - Disclosure - Workforce Reduction and Other Initiatives - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="WorkforceReductionandOtherInitiativesChargesIncludedWithintheStatementofIncomeDetails" roleURI="http://www.google.com/role/WorkforceReductionandOtherInitiativesChargesIncludedWithintheStatementofIncomeDetails">
<link:definition>9954515 - Disclosure - Workforce Reduction and Other Initiatives - Charges Included Within the Statement of Income (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="WorkforceReductionandOtherInitiativesChangestoRestructuringandOtherAccrualsDetails" roleURI="http://www.google.com/role/WorkforceReductionandOtherInitiativesChangestoRestructuringandOtherAccrualsDetails">
<link:definition>9954516 - Disclosure - Workforce Reduction and Other Initiatives - Changes to Restructuring and Other Accruals (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="GoodwillChangesinCarryingAmountofGoodwillDetails" roleURI="http://www.google.com/role/GoodwillChangesinCarryingAmountofGoodwillDetails">
<link:definition>9954517 - Disclosure - Goodwill - Changes in Carrying Amount of Goodwill (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CommitmentsandContingenciesNarrativeDetails" roleURI="http://www.google.com/role/CommitmentsandContingenciesNarrativeDetails">
<link:definition>9954518 - Disclosure - Commitments and Contingencies - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="StockholdersEquityNarrativeDetails" roleURI="http://www.google.com/role/StockholdersEquityNarrativeDetails">
<link:definition>9954519 - Disclosure - Stockholders' Equity - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="StockholdersEquityShareRepurchasesDetails" roleURI="http://www.google.com/role/StockholdersEquityShareRepurchasesDetails">
<link:definition>9954520 - Disclosure - Stockholders' Equity - Share Repurchases (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="NetIncomePerShareScheduleofEarningsPerShareDetails" roleURI="http://www.google.com/role/NetIncomePerShareScheduleofEarningsPerShareDetails">
<link:definition>9954521 - Disclosure - Net Income Per Share - Schedule of Earnings Per Share (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CompensationPlansStockPlansDetails" roleURI="http://www.google.com/role/CompensationPlansStockPlansDetails">
<link:definition>9954522 - Disclosure - Compensation Plans - Stock Plans (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CompensationPlansStockBasedCompensationDetails" roleURI="http://www.google.com/role/CompensationPlansStockBasedCompensationDetails">
<link:definition>9954523 - Disclosure - Compensation Plans - Stock Based Compensation (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CompensationPlansStockBasedAwardActivitiesDetails" roleURI="http://www.google.com/role/CompensationPlansStockBasedAwardActivitiesDetails">
<link:definition>9954524 - Disclosure - Compensation Plans - Stock Based Award Activities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesIncomeFromContinuingOperationsBeforeIncomeTaxesDetails" roleURI="http://www.google.com/role/IncomeTaxesIncomeFromContinuingOperationsBeforeIncomeTaxesDetails">
<link:definition>9954525 - Disclosure - Income Taxes - Income From Continuing Operations Before Income Taxes (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesProvisionforIncomeTaxesDetails" roleURI="http://www.google.com/role/IncomeTaxesProvisionforIncomeTaxesDetails">
<link:definition>9954526 - Disclosure - Income Taxes - Provision for Income Taxes (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveIncomeTaxRateDetails" roleURI="http://www.google.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveIncomeTaxRateDetails">
<link:definition>9954527 - Disclosure - Income Taxes - Reconciliation of Federal Statutory Income Tax Rate to Effective Income Tax Rate (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesNarrativeDetails" roleURI="http://www.google.com/role/IncomeTaxesNarrativeDetails">
<link:definition>9954528 - Disclosure - Income Taxes - Narrative (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" roleURI="http://www.google.com/role/IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails">
<link:definition>9954529 - Disclosure - Income Taxes - Significant Components of Deferred Tax Assets and Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesSummaryofActivityRelatedtoGrossUnrecognizedTaxBenefitsDetails" roleURI="http://www.google.com/role/IncomeTaxesSummaryofActivityRelatedtoGrossUnrecognizedTaxBenefitsDetails">
<link:definition>9954530 - Disclosure - Income Taxes - Summary of Activity Related to Gross Unrecognized Tax Benefits (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="InformationaboutSegmentsandGeographicAreasRevenueandOperatingIncomeLossbySegmentDetails" roleURI="http://www.google.com/role/InformationaboutSegmentsandGeographicAreasRevenueandOperatingIncomeLossbySegmentDetails">
<link:definition>9954531 - Disclosure - Information about Segments and Geographic Areas - Revenue and Operating Income/Loss by Segment (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="InformationaboutSegmentsandGeographicAreasLongLivedAssetsbyGeographicAreaDetails" roleURI="http://www.google.com/role/InformationaboutSegmentsandGeographicAreasLongLivedAssetsbyGeographicAreaDetails">
<link:definition>9954532 - Disclosure - Information about Segments and Geographic Areas - Long-Lived Assets by Geographic Area (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ScheduleIIValuationandQualifyingAccountsDetails" roleURI="http://www.google.com/role/ScheduleIIValuationandQualifyingAccountsDetails">
<link:definition>9954533 - Disclosure - Schedule II: Valuation and Qualifying Accounts (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
</xs:appinfo>
</xs:annotation>
<xs:element id="goog_GoogleCloudMember" abstract="true" name="GoogleCloudMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_FairValueOptionDebtSecuritiesAvailableForSaleUnrealizedGainLoss" abstract="false" name="FairValueOptionDebtSecuritiesAvailableForSaleUnrealizedGainLoss" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_AccruedCustomerLiabilitiesCurrent" abstract="false" name="AccruedCustomerLiabilitiesCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessRecordedInAOCINet" abstract="false" name="GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessRecordedInAOCINet" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_UnconsolidatedVariableInterestEntityCarryingValue" abstract="false" name="UnconsolidatedVariableInterestEntityCarryingValue" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_AnnMatherMember" abstract="true" name="AnnMatherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingAmortizationApproachNet" abstract="false" name="DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingAmortizationApproachNet" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_IncrementalCommonSharesAttributableToConversionOfCommonStock" abstract="false" name="IncrementalCommonSharesAttributableToConversionOfCommonStock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
<xs:element id="goog_NumberOfTaxJurisdictions" abstract="false" name="NumberOfTaxJurisdictions" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="goog_OtherRevenueHedgingGainLossMember" abstract="true" name="OtherRevenueHedgingGainLossMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_CapitalClassCMember" abstract="true" name="CapitalClassCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_NetInvestmentHedgeForeignExchangeContractsAbstract" abstract="true" name="NetInvestmentHedgeForeignExchangeContractsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax" abstract="false" name="EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_RevenueByGeographicLocationAndTypeMember" abstract="true" name="RevenueByGeographicLocationAndTypeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_ReallocationOfUndistributedEarnings" abstract="false" name="ReallocationOfUndistributedEarnings" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_CapitalClassAAndCMember" abstract="true" name="CapitalClassAAndCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_DeferredTaxLiabilitiesOperatingLeaseLiability" abstract="false" name="DeferredTaxLiabilitiesOperatingLeaseLiability" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_CapitalClassAMember" abstract="true" name="CapitalClassAMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_RedeemableNoncontrollingInterestInVariableInterestEntity" abstract="false" name="RedeemableNoncontrollingInterestInVariableInterestEntity" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_AmericasExcludingUnitedStatesMember" abstract="true" name="AmericasExcludingUnitedStatesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_LesseeLeaseNotYetCommencedCurrentAmount" abstract="false" name="LesseeLeaseNotYetCommencedCurrentAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_CumulativeNetGainLossOnEquitySecuritiesSoldTableTextBlock" abstract="false" name="CumulativeNetGainLossOnEquitySecuritiesSoldTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="goog_EarningsPerShareDisclosureLineItems" abstract="true" name="EarningsPerShareDisclosureLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_NonMarketableSecuritiesWithoutReadilyDeterminableFairValueDownwordPriceAdjustment" abstract="false" name="NonMarketableSecuritiesWithoutReadilyDeterminableFairValueDownwordPriceAdjustment" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_AccruedRevenueShare" abstract="false" name="AccruedRevenueShare" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_IncomeTaxesLineItems" abstract="true" name="IncomeTaxesLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems" abstract="true" name="OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_GoogleServicesMember" abstract="true" name="GoogleServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_EarningsPerShareDisclosureTable" abstract="true" name="EarningsPerShareDisclosureTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="goog_JohnHennessyTradingArrangementClassACommonStockMember" abstract="true" name="JohnHennessyTradingArrangementClassACommonStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_CashAndCashEquivalentsAndMarketableSecuritiesPolicyPolicyTextBlock" abstract="false" name="CashAndCashEquivalentsAndMarketableSecuritiesPolicyPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="goog_A20112016NotesMember" abstract="true" name="A20112016NotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_DerivativesNotDesignatedasCashFlowHedgesForeignExchangeContractsAbstract" abstract="true" name="DerivativesNotDesignatedasCashFlowHedgesForeignExchangeContractsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_NetIncomeMember" abstract="true" name="NetIncomeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_FinancialInstrumentsAndFairValueLineItems" abstract="true" name="FinancialInstrumentsAndFairValueLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_FairValueHedgeForeignExchangeContractsAbstract" abstract="true" name="FairValueHedgeForeignExchangeContractsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_NonMarketableEquityInvestmentsPolicyPolicyTextBlock" abstract="false" name="NonMarketableEquityInvestmentsPolicyPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="goog_GoogleAdvertisingRevenueMember" abstract="true" name="GoogleAdvertisingRevenueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_NumberOfClassesOfCommonStock" abstract="false" name="NumberOfClassesOfCommonStock" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="goog_CreditFacilityDueApril2028Member" abstract="true" name="CreditFacilityDueApril2028Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_ShareRepurchaseProgramMember" abstract="true" name="ShareRepurchaseProgramMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_CarryingValueOfMarketableAndNonMarketableEquitySecuritiesTableTextBlock" abstract="false" name="CarryingValueOfMarketableAndNonMarketableEquitySecuritiesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="goog_GoogleSearchOtherMember" abstract="true" name="GoogleSearchOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_GainLossFromComponentsExcludedFromAssessmentOfNetInvestmentHedgeEffectivenessNet" abstract="false" name="GainLossFromComponentsExcludedFromAssessmentOfNetInvestmentHedgeEffectivenessNet" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_ShortTermDebtMaximumBorrowingCapacity" abstract="false" name="ShortTermDebtMaximumBorrowingCapacity" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_ServerEquipmentMember" abstract="true" name="ServerEquipmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_AuditInformationAbstract" abstract="true" name="AuditInformationAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_CashCashEquivalentsAndMarketableSecurities" abstract="false" name="CashCashEquivalentsAndMarketableSecurities" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_NetProceedsPaymentsRelatedToStockBasedAwardActivities" abstract="false" name="NetProceedsPaymentsRelatedToStockBasedAwardActivities" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_NatureOfOperationsPolicyPolicyTextBlock" abstract="false" name="NatureOfOperationsPolicyPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost" abstract="false" name="EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_IncomeLossFromEquityMethodInvestmentsAndOtherThanTemporaryImpairmentNet" abstract="false" name="IncomeLossFromEquityMethodInvestmentsAndOtherThanTemporaryImpairmentNet" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_GovernmentBondsMember" abstract="true" name="GovernmentBondsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_NetworkEquipmentMember" abstract="true" name="NetworkEquipmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_JohnHennessyTradingArrangementClassCCapitalStockMember" abstract="true" name="JohnHennessyTradingArrangementClassCCapitalStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_ReallocationOfUndistributedEarningsAsResultOfConversionOfShares" abstract="false" name="ReallocationOfUndistributedEarningsAsResultOfConversionOfShares" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_StockholdersEquityNoteTable" abstract="true" name="StockholdersEquityNoteTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="goog_DerivativeAssetSubjectToMasterNettingArrangementCollateralObligationToReturnCashAndSecurityNotOffset" abstract="false" name="DerivativeAssetSubjectToMasterNettingArrangementCollateralObligationToReturnCashAndSecurityNotOffset" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_RestructuringChargesExcludingNoncashExpenses" abstract="false" name="RestructuringChargesExcludingNoncashExpenses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_RestructuringAndRelatedCostAcceleratedRentAndDepreciation" abstract="false" name="RestructuringAndRelatedCostAcceleratedRentAndDepreciation" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost" abstract="false" name="CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_MarketableEquitySecuritiesMember" abstract="true" name="MarketableEquitySecuritiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_EffectiveIncomeTaxRateReconciliationImpactOfTaxLawChangePercent" abstract="false" name="EffectiveIncomeTaxRateReconciliationImpactOfTaxLawChangePercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
<xs:element id="goog_TaxWithholdingRelatedToVestingOfRestrictedStockUnits" abstract="false" name="TaxWithholdingRelatedToVestingOfRestrictedStockUnits" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_LesseeLeaseNotYetCommencedNoncurrentAmount" abstract="false" name="LesseeLeaseNotYetCommencedNoncurrentAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_FinancialInstrumentsAndFairValueTable" abstract="true" name="FinancialInstrumentsAndFairValueTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="goog_SharebasedPaymentArrangementNoncashExpenseIncludingLiabilitiesSettled" abstract="false" name="SharebasedPaymentArrangementNoncashExpenseIncludingLiabilitiesSettled" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_SubscriptionsPlatformsAndDevicesRevenueMember" abstract="true" name="SubscriptionsPlatformsAndDevicesRevenueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_CashFlowHedgeForeignExchangeContractsAbstract" abstract="true" name="CashFlowHedgeForeignExchangeContractsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_NonMarketableSecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustment" abstract="false" name="NonMarketableSecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustment" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_LossContingencyLossInPeriodAdjustment" abstract="false" name="LossContingencyLossInPeriodAdjustment" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_TaxBenefitFromStockBasedAwardActivity" abstract="false" name="TaxBenefitFromStockBasedAwardActivity" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_InvestmentsUnrealizedLossPositionLineItems" abstract="true" name="InvestmentsUnrealizedLossPositionLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_YouTubeAdvertisingRevenueMember" abstract="true" name="YouTubeAdvertisingRevenueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax" abstract="false" name="EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_StockholdersEquityNoteLineItems" abstract="true" name="StockholdersEquityNoteLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_NonMarketableEquitySecuritiesAbstract" abstract="true" name="NonMarketableEquitySecuritiesAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets" abstract="false" name="AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_BalanceSheetComponentsDisclosureAbstract" abstract="true" name="BalanceSheetComponentsDisclosureAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_GoogleNetworkMember" abstract="true" name="GoogleNetworkMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax" abstract="false" name="EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_IncomeTaxesTable" abstract="true" name="IncomeTaxesTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="goog_EquitySecuritiesFVNICumulativeGainLossNet" abstract="false" name="EquitySecuritiesFVNICumulativeGainLossNet" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_OrganizationAndSummaryOfSignificantAccountingPoliciesTable" abstract="true" name="OrganizationAndSummaryOfSignificantAccountingPoliciesTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="goog_EffectofDerivativesNotDesignatedasCashFlowHedgesonResultsofOperationsAbstract" abstract="true" name="EffectofDerivativesNotDesignatedasCashFlowHedgesonResultsofOperationsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="goog_IncreaseDecreaseInAccruedRevenueShare" abstract="false" name="IncreaseDecreaseInAccruedRevenueShare" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_ProceedsFromSaleOfEquitySecuritiesFVNIHeldForInvestment" abstract="false" name="ProceedsFromSaleOfEquitySecuritiesFVNIHeldForInvestment" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_JohnHennessyMember" abstract="true" name="JohnHennessyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_CreditFacilityDueApril2024Member" abstract="true" name="CreditFacilityDueApril2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_InvestmentsUnrealizedLossPositionTable" abstract="true" name="InvestmentsUnrealizedLossPositionTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="goog_InvestmentPerformanceFees" abstract="false" name="InvestmentPerformanceFees" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_DerivativeLiabilitySubjectToMasterNettingArrangementCollateralRightToReclaimCashAndSecurityNotOffset" abstract="false" name="DerivativeLiabilitySubjectToMasterNettingArrangementCollateralRightToReclaimCashAndSecurityNotOffset" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_ImpairmentOfMarketableAndNonMarketableSecuritiesPolicyPolicyTextBlock" abstract="false" name="ImpairmentOfMarketableAndNonMarketableSecuritiesPolicyPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="goog_MortgageBackedandAssetBackedSecuritiesMember" abstract="true" name="MortgageBackedandAssetBackedSecuritiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="goog_EquitySecuritiesWithoutReadilyDeterminableFairValueCost" abstract="false" name="EquitySecuritiesWithoutReadilyDeterminableFairValueCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_DeferredTaxAssetsOperatingLeaseRightOfUseAsset" abstract="false" name="DeferredTaxAssetsOperatingLeaseRightOfUseAsset" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_RuthMPoratMember" abstract="true" name="RuthMPoratMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="goog_SupplementalCashFlowInformationTableTextBlock" abstract="false" name="SupplementalCashFlowInformationTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="goog_CommonStockNumberOfVotes" abstract="false" name="CommonStockNumberOfVotes" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="goog_EquitySecuritiesFVNICostBasisOfSecuritiesSold" abstract="false" name="EquitySecuritiesFVNICostBasisOfSecuritiesSold" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_EquitySecuritiesWithoutReadilyDeterminableFairValueFVNIUnrealizedGainLoss" abstract="false" name="EquitySecuritiesWithoutReadilyDeterminableFairValueFVNIUnrealizedGainLoss" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="goog_AccruedPurchasesOfPropertyAndEquipmentCurrent" abstract="false" name="AccruedPurchasesOfPropertyAndEquipmentCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
</xs:schema>

View File

@@ -0,0 +1,558 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:a6458307-1661-4bc5-9a9c-8ff2020c9988,g:e8bc7e8d-5cbe-4807-8e11-79b67ab03249-->
<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:roleRef roleURI="http://www.google.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="goog-20231231.xsd#CONSOLIDATEDBALANCESHEETS"/>
<link:calculationLink xlink:role="http://www.google.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_ba121c40-dce8-485a-ae0a-18e590eed5f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_47f0eb30-23be-4f9c-b122-98a23c9a973b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_ba121c40-dce8-485a-ae0a-18e590eed5f9" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_47f0eb30-23be-4f9c-b122-98a23c9a973b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_28a5bbcc-7945-47db-ac54-5167a777bae5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_ba121c40-dce8-485a-ae0a-18e590eed5f9" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_28a5bbcc-7945-47db-ac54-5167a777bae5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_51a1e949-b36d-410a-95b4-d13e71f38e7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_d1c362a8-231d-4186-96c8-972b1f4e46c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_51a1e949-b36d-410a-95b4-d13e71f38e7d" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_d1c362a8-231d-4186-96c8-972b1f4e46c8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_503aacf1-e293-412a-b2f3-753f1a257714" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_51a1e949-b36d-410a-95b4-d13e71f38e7d" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_503aacf1-e293-412a-b2f3-753f1a257714" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_c481a516-3fd5-4dd0-b161-626db9852796" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsCurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_51a1e949-b36d-410a-95b4-d13e71f38e7d" xlink:to="loc_us-gaap_OtherAssetsCurrent_c481a516-3fd5-4dd0-b161-626db9852796" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_ccc29d4f-0f08-46f5-9382-492659cb8a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:to="loc_us-gaap_AssetsCurrent_ccc29d4f-0f08-46f5-9382-492659cb8a2b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermInvestments_4f32436d-5609-4162-b907-74893fb7f007" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLongTermInvestments"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:to="loc_us-gaap_OtherLongTermInvestments_4f32436d-5609-4162-b907-74893fb7f007" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_ff54a14a-edcb-4d8e-bde4-1fd3c4e837e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_ff54a14a-edcb-4d8e-bde4-1fd3c4e837e5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6536fd1d-8886-4863-8212-5b21106c3acf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_6536fd1d-8886-4863-8212-5b21106c3acf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_4bc9509d-c558-4a7c-aa80-3802e193ed31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_4bc9509d-c558-4a7c-aa80-3802e193ed31" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_0c5d37e1-4e34-4c2b-b0fb-ed66ae55a0e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:to="loc_us-gaap_Goodwill_0c5d37e1-4e34-4c2b-b0fb-ed66ae55a0e5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_dcc5f66c-69d4-4092-b7b1-999c733255c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c835d93f-fa9a-41f2-b92e-aa8c543ada7c" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_dcc5f66c-69d4-4092-b7b1-999c733255c8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_54f689cd-db79-4ee3-b186-51c9d58230e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertiblePreferredStockNonredeemableOrRedeemableIssuerOptionValue_1e717ec5-19f9-4e8d-8fae-2762ca00fe61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertiblePreferredStockNonredeemableOrRedeemableIssuerOptionValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_54f689cd-db79-4ee3-b186-51c9d58230e4" xlink:to="loc_us-gaap_ConvertiblePreferredStockNonredeemableOrRedeemableIssuerOptionValue_1e717ec5-19f9-4e8d-8fae-2762ca00fe61" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_01cecf30-b312-487b-a26d-a79b7ec751f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStocksIncludingAdditionalPaidInCapital"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_54f689cd-db79-4ee3-b186-51c9d58230e4" xlink:to="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_01cecf30-b312-487b-a26d-a79b7ec751f4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_80dff010-0cbe-4a39-94ff-e005d3dbc6d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_54f689cd-db79-4ee3-b186-51c9d58230e4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_80dff010-0cbe-4a39-94ff-e005d3dbc6d1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_57b7ea59-07f8-44da-a49d-cbf4d0d2bc19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_54f689cd-db79-4ee3-b186-51c9d58230e4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_57b7ea59-07f8-44da-a49d-cbf4d0d2bc19" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_9ccf2bf4-1bbc-4c3f-abcd-8d3a4975b06a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_a88a0a98-b62c-4ed2-8bb9-97c9c4aa1706" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_9ccf2bf4-1bbc-4c3f-abcd-8d3a4975b06a" xlink:to="loc_us-gaap_Liabilities_a88a0a98-b62c-4ed2-8bb9-97c9c4aa1706" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_97b789e5-d3f7-4a60-aacc-28c00ded370b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_9ccf2bf4-1bbc-4c3f-abcd-8d3a4975b06a" xlink:to="loc_us-gaap_CommitmentsAndContingencies_97b789e5-d3f7-4a60-aacc-28c00ded370b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_a2ced483-dac7-4a62-bed5-5bf718a71470" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_9ccf2bf4-1bbc-4c3f-abcd-8d3a4975b06a" xlink:to="loc_us-gaap_StockholdersEquity_a2ced483-dac7-4a62-bed5-5bf718a71470" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_64260d2d-c603-4ee6-bd5f-8ce81e1192e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:to="loc_us-gaap_LiabilitiesCurrent_64260d2d-c603-4ee6-bd5f-8ce81e1192e1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_749fecd7-d01d-4004-bce5-81f7fe229a48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_749fecd7-d01d-4004-bce5-81f7fe229a48" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_58377f68-be50-47ba-8ab0-0605ebd36ebc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_58377f68-be50-47ba-8ab0-0605ebd36ebc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_dba7b759-ea7c-493f-87a7-e98836c8e378" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_dba7b759-ea7c-493f-87a7-e98836c8e378" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_1fe05e9e-4370-4ed5-ac87-cccabd191631" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_1fe05e9e-4370-4ed5-ac87-cccabd191631" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_515ffc9a-ecdc-411e-8690-cc3ac50f9c03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_515ffc9a-ecdc-411e-8690-cc3ac50f9c03" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_ebe7c7e5-7e52-47fb-a761-2491aabdc17e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fe56e8fe-9df3-4b9d-ab4d-899996e073be" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_ebe7c7e5-7e52-47fb-a761-2491aabdc17e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_f60e0ede-db9f-4306-984d-f9a7f6f7c2ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_dc426792-abb6-4c4b-acf6-eafab578e577" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f60e0ede-db9f-4306-984d-f9a7f6f7c2ba" xlink:to="loc_us-gaap_AccountsPayableCurrent_dc426792-abb6-4c4b-acf6-eafab578e577" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_399dce63-3b56-4492-8458-ac6617012ec5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f60e0ede-db9f-4306-984d-f9a7f6f7c2ba" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_399dce63-3b56-4492-8458-ac6617012ec5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_330727f6-c59e-4195-b1ae-38e0c8897402" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f60e0ede-db9f-4306-984d-f9a7f6f7c2ba" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_330727f6-c59e-4195-b1ae-38e0c8897402" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_AccruedRevenueShare_26fb42a6-f663-4c9e-bf6e-893b2b24a0fb" xlink:href="goog-20231231.xsd#goog_AccruedRevenueShare"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f60e0ede-db9f-4306-984d-f9a7f6f7c2ba" xlink:to="loc_goog_AccruedRevenueShare_26fb42a6-f663-4c9e-bf6e-893b2b24a0fb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_14d6d01d-274b-4993-876b-4bcdaaa62b40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f60e0ede-db9f-4306-984d-f9a7f6f7c2ba" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_14d6d01d-274b-4993-876b-4bcdaaa62b40" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="goog-20231231.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
<link:calculationLink xlink:role="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c6f9d059-0e60-4a1b-b7a5-b171c5f1b6e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_8c9e8667-0279-418a-90f1-d273548f902b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c6f9d059-0e60-4a1b-b7a5-b171c5f1b6e1" xlink:to="loc_us-gaap_CostsAndExpenses_8c9e8667-0279-418a-90f1-d273548f902b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_61b249d1-e209-422b-8413-ec71fb88a8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c6f9d059-0e60-4a1b-b7a5-b171c5f1b6e1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_61b249d1-e209-422b-8413-ec71fb88a8a5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_91995607-319d-46ee-b96d-d9d605415a35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_efa234d0-003d-42c8-bbd1-d9803805edb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfRevenue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_91995607-319d-46ee-b96d-d9d605415a35" xlink:to="loc_us-gaap_CostOfRevenue_efa234d0-003d-42c8-bbd1-d9803805edb1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_7c131017-f660-40fa-b4ca-4baca98328c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_91995607-319d-46ee-b96d-d9d605415a35" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_7c131017-f660-40fa-b4ca-4baca98328c8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_746e9948-7f5e-4c65-a094-8b5b8547bebe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingAndMarketingExpense"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_91995607-319d-46ee-b96d-d9d605415a35" xlink:to="loc_us-gaap_SellingAndMarketingExpense_746e9948-7f5e-4c65-a094-8b5b8547bebe" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_44eda2c1-d3c4-404b-b120-325c65675e2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_91995607-319d-46ee-b96d-d9d605415a35" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_44eda2c1-d3c4-404b-b120-325c65675e2d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_9a551371-90e4-4a89-8086-89aeec59ca0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3e821f3f-b472-4ace-9402-fc910fd32938" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_9a551371-90e4-4a89-8086-89aeec59ca0b" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3e821f3f-b472-4ace-9402-fc910fd32938" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ad874c0d-c00e-4087-bc9c-355754f65c70" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_9a551371-90e4-4a89-8086-89aeec59ca0b" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_ad874c0d-c00e-4087-bc9c-355754f65c70" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ca071ee4-57bc-4a40-8368-271aa30d46b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_6970dd13-9d27-44ef-90bd-9ff6991088e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ca071ee4-57bc-4a40-8368-271aa30d46b0" xlink:to="loc_us-gaap_OperatingIncomeLoss_6970dd13-9d27-44ef-90bd-9ff6991088e0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9cb9c574-8223-4f36-ac79-f2e96cff811f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ca071ee4-57bc-4a40-8368-271aa30d46b0" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_9cb9c574-8223-4f36-ac79-f2e96cff811f" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="goog-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
<link:calculationLink xlink:role="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_6e8e6f48-1ea9-4bbe-86d8-fce5569caf0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_f33dea5f-2617-410b-8d35-3df8751cc212" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_6e8e6f48-1ea9-4bbe-86d8-fce5569caf0b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_f33dea5f-2617-410b-8d35-3df8751cc212" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_e86917f5-e79b-45eb-a128-c5376c76d675" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_6e8e6f48-1ea9-4bbe-86d8-fce5569caf0b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_e86917f5-e79b-45eb-a128-c5376c76d675" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_98d70ac2-bb86-4181-98c1-cde75f68ac3d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4bb3f49a-734c-488c-8342-7bac46895337" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_98d70ac2-bb86-4181-98c1-cde75f68ac3d" xlink:to="loc_us-gaap_NetIncomeLoss_4bb3f49a-734c-488c-8342-7bac46895337" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9a5d3c6c-2c09-46df-8947-e701dc73a172" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_98d70ac2-bb86-4181-98c1-cde75f68ac3d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9a5d3c6c-2c09-46df-8947-e701dc73a172" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2c57430d-fae3-43c3-ac7e-36440d8bf9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_3d464e82-b1b2-439a-a535-1a82a07a2934" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2c57430d-fae3-43c3-ac7e-36440d8bf9eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_3d464e82-b1b2-439a-a535-1a82a07a2934" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_44de8c59-e8f3-4c96-b8e6-47143e8410a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2c57430d-fae3-43c3-ac7e-36440d8bf9eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_44de8c59-e8f3-4c96-b8e6-47143e8410a1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_3524e607-f16a-4b05-96b7-926caf74a0a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2c57430d-fae3-43c3-ac7e-36440d8bf9eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_3524e607-f16a-4b05-96b7-926caf74a0a6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_d7c0f7ce-fc1a-41f1-a6a0-6ecc84c57e2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_3102f846-e55f-4e36-a035-83b2792cc098" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_d7c0f7ce-fc1a-41f1-a6a0-6ecc84c57e2f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_3102f846-e55f-4e36-a035-83b2792cc098" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_65027caa-ffe8-47c3-b2a8-4b7bcf188bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_d7c0f7ce-fc1a-41f1-a6a0-6ecc84c57e2f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_65027caa-ffe8-47c3-b2a8-4b7bcf188bf2" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="goog-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
<link:calculationLink xlink:role="http://www.google.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ace16210-e66c-4e91-98bf-16167286bcf4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_NetIncomeLoss_ace16210-e66c-4e91-98bf-16167286bcf4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_7a4f21e4-afd1-4f64-99cc-e33e7faa8a85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Depreciation"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_Depreciation_7a4f21e4-afd1-4f64-99cc-e33e7faa8a85" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_3be5f045-1d25-454d-b8aa-3c9b9d1c78ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_ShareBasedCompensation_3be5f045-1d25-454d-b8aa-3c9b9d1c78ca" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_36a798e3-5c66-4880-847c-77c7406d0282" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_36a798e3-5c66-4880-847c-77c7406d0282" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_6d16ed6a-8c14-464f-afc8-cf364f6fd7b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_6d16ed6a-8c14-464f-afc8-cf364f6fd7b7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_1282550e-d62e-4e67-81e9-6d90054bf8b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoncashIncomeExpense"/>
<link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_1282550e-d62e-4e67-81e9-6d90054bf8b0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f5b5f314-5d0c-468b-baa7-a6a5af0a35af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
<link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f5b5f314-5d0c-468b-baa7-a6a5af0a35af" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxes_8fb0914c-61b4-490a-81be-aaa879c49efc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInIncomeTaxes"/>
<link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxes_8fb0914c-61b4-490a-81be-aaa879c49efc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_1fb36d0d-6da5-4b90-9035-00082b13c082" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
<link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_1fb36d0d-6da5-4b90-9035-00082b13c082" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_ee5bbf72-688c-4387-9cd7-1e52c506508b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
<link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_ee5bbf72-688c-4387-9cd7-1e52c506508b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_7a371e84-0a21-4a87-b01c-db664794bf61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
<link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_7a371e84-0a21-4a87-b01c-db664794bf61" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_IncreaseDecreaseInAccruedRevenueShare_0b48f1b9-7f59-477a-9bf6-29a54b7451c6" xlink:href="goog-20231231.xsd#goog_IncreaseDecreaseInAccruedRevenueShare"/>
<link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_goog_IncreaseDecreaseInAccruedRevenueShare_0b48f1b9-7f59-477a-9bf6-29a54b7451c6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_3696d55f-6928-44b3-be3f-eaa374032efd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
<link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_684063ab-7ebe-492b-adb8-5b26f300edc6" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_3696d55f-6928-44b3-be3f-eaa374032efd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_1f037b78-7740-4f82-8feb-ecf3fa255d63" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_1f037b78-7740-4f82-8feb-ecf3fa255d63" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_4cd3fa71-91c6-4ed4-a897-2534ba08900e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_4cd3fa71-91c6-4ed4-a897-2534ba08900e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_17ec735b-2376-43aa-a520-4d5f662ed164" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_17ec735b-2376-43aa-a520-4d5f662ed164" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_12bcf9fb-af49-4227-8fb1-85e9b4fca2fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_12bcf9fb-af49-4227-8fb1-85e9b4fca2fd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_e549e8c1-54d9-4d5c-97a7-ebb6c43d24d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_e549e8c1-54d9-4d5c-97a7-ebb6c43d24d4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets_425346fd-6bb5-45d8-a8d0-5f2cd087ee83" xlink:href="goog-20231231.xsd#goog_AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets"/>
<link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:to="loc_goog_AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets_425346fd-6bb5-45d8-a8d0-5f2cd087ee83" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_f2fe1986-48f9-4c67-ad6e-7f8a8bab7998" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
<link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_79cacfbe-8381-44de-9ac9-7ef3dd0bf0ae" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_f2fe1986-48f9-4c67-ad6e-7f8a8bab7998" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9485ebe3-be02-4b8f-839b-ddbdb078e08c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5f22f8f4-14a2-4ac0-b0af-60dc8e016f80" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9485ebe3-be02-4b8f-839b-ddbdb078e08c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5f22f8f4-14a2-4ac0-b0af-60dc8e016f80" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_963b485d-0442-4fea-8ff3-f943f3fa408b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9485ebe3-be02-4b8f-839b-ddbdb078e08c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_963b485d-0442-4fea-8ff3-f943f3fa408b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9aaccdce-3dd1-467a-bf22-8dada462091e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9485ebe3-be02-4b8f-839b-ddbdb078e08c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9aaccdce-3dd1-467a-bf22-8dada462091e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_397e5080-10ca-4aaf-8ad9-663d446463d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9485ebe3-be02-4b8f-839b-ddbdb078e08c" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_397e5080-10ca-4aaf-8ad9-663d446463d3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fbf5ea2a-7964-43ef-8bc5-fd5f76bb2cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_NetProceedsPaymentsRelatedToStockBasedAwardActivities_c1e469c0-90a6-4761-8ac6-f115f4b96322" xlink:href="goog-20231231.xsd#goog_NetProceedsPaymentsRelatedToStockBasedAwardActivities"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fbf5ea2a-7964-43ef-8bc5-fd5f76bb2cb9" xlink:to="loc_goog_NetProceedsPaymentsRelatedToStockBasedAwardActivities_c1e469c0-90a6-4761-8ac6-f115f4b96322" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_359faa49-db9f-45b9-b11e-cd42d7334632" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fbf5ea2a-7964-43ef-8bc5-fd5f76bb2cb9" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_359faa49-db9f-45b9-b11e-cd42d7334632" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDebtNetOfIssuanceCosts_68f75962-4417-4ac8-8caf-1ea26ce9d6e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromDebtNetOfIssuanceCosts"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fbf5ea2a-7964-43ef-8bc5-fd5f76bb2cb9" xlink:to="loc_us-gaap_ProceedsFromDebtNetOfIssuanceCosts_68f75962-4417-4ac8-8caf-1ea26ce9d6e5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations_9857810a-e258-4300-9ae3-974043e216d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fbf5ea2a-7964-43ef-8bc5-fd5f76bb2cb9" xlink:to="loc_us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations_9857810a-e258-4300-9ae3-974043e216d5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_cf9d89dd-e3d6-4fda-b117-b464d9003175" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromMinorityShareholders"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fbf5ea2a-7964-43ef-8bc5-fd5f76bb2cb9" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_cf9d89dd-e3d6-4fda-b117-b464d9003175" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsMarketableSecuritiesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsMarketableSecuritiesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsMarketableSecuritiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_goog_CashCashEquivalentsAndMarketableSecurities_bb0a05ce-9360-4c88-9dbb-ef2a588f7e82" xlink:href="goog-20231231.xsd#goog_CashCashEquivalentsAndMarketableSecurities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_87aa0c13-7475-4a49-8830-308e2eadf4d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_CashCashEquivalentsAndMarketableSecurities_bb0a05ce-9360-4c88-9dbb-ef2a588f7e82" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_87aa0c13-7475-4a49-8830-308e2eadf4d3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_4e8504a7-e96c-4fc8-9544-dc0434aa8118" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_CashCashEquivalentsAndMarketableSecurities_bb0a05ce-9360-4c88-9dbb-ef2a588f7e82" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_4e8504a7-e96c-4fc8-9544-dc0434aa8118" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost_5954b465-90b1-4952-9062-31be075b67fd" xlink:href="goog-20231231.xsd#goog_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_31133346-5b1b-4e74-a205-433e5bbfbd8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost_5954b465-90b1-4952-9062-31be075b67fd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_31133346-5b1b-4e74-a205-433e5bbfbd8a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_abf5af96-0bb6-41ba-8eec-c19e35747e3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost_5954b465-90b1-4952-9062-31be075b67fd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_abf5af96-0bb6-41ba-8eec-c19e35747e3b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_CashCashEquivalentsAndMarketableSecurities_443b8e31-1708-42fd-a64a-84383f89d32e" xlink:href="goog-20231231.xsd#goog_CashCashEquivalentsAndMarketableSecurities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost_5954b465-90b1-4952-9062-31be075b67fd" xlink:to="loc_goog_CashCashEquivalentsAndMarketableSecurities_443b8e31-1708-42fd-a64a-84383f89d32e" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsContractualMaturityDateofMarketableDebtSecuritiesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsContractualMaturityDateofMarketableDebtSecuritiesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsContractualMaturityDateofMarketableDebtSecuritiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6580ff62-986c-4a97-8202-77c5dd903a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_c338d617-c8b6-461e-b8a2-8009675f7203" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6580ff62-986c-4a97-8202-77c5dd903a6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_c338d617-c8b6-461e-b8a2-8009675f7203" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_dbb072f2-66e4-48ab-a093-06adf4fccedf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6580ff62-986c-4a97-8202-77c5dd903a6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_dbb072f2-66e4-48ab-a093-06adf4fccedf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_c8d0aef3-ff28-45d1-89e1-5d4b0257ef21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6580ff62-986c-4a97-8202-77c5dd903a6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_c8d0aef3-ff28-45d1-89e1-5d4b0257ef21" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_c7863da5-c40e-4a50-960a-aa7d1393b0ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6580ff62-986c-4a97-8202-77c5dd903a6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_c7863da5-c40e-4a50-960a-aa7d1393b0ed" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsGrossUnrealizedLossesandFairValuesforInvestmentsinUnrealizedLossPositionDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsGrossUnrealizedLossesandFairValuesforInvestmentsinUnrealizedLossPositionDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsGrossUnrealizedLossesandFairValuesforInvestmentsinUnrealizedLossPositionDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_24a0e761-1ac2-44ef-92ff-0e4191e8ec56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_5c4eb310-1a35-4e5f-a099-0f11edfa4bcb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_24a0e761-1ac2-44ef-92ff-0e4191e8ec56" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_5c4eb310-1a35-4e5f-a099-0f11edfa4bcb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_cdd57bb6-241a-43ed-81d6-dc096e990c2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_24a0e761-1ac2-44ef-92ff-0e4191e8ec56" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_cdd57bb6-241a-43ed-81d6-dc096e990c2c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_ead40846-e548-4669-9026-888819ad619c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_32fdf73b-1df7-4084-88a3-4d3fdaeaffeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_ead40846-e548-4669-9026-888819ad619c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_32fdf73b-1df7-4084-88a3-4d3fdaeaffeb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_02d0f9ee-0c67-456e-b3e7-f6b1cc0fe9b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_ead40846-e548-4669-9026-888819ad619c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_02d0f9ee-0c67-456e-b3e7-f6b1cc0fe9b1" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_0719ffc4-b12b-413d-ac49-fa9c20f296ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost_65a4ee47-44fc-40c1-abf9-7b17d43f64fb" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_0719ffc4-b12b-413d-ac49-fa9c20f296ec" xlink:to="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost_65a4ee47-44fc-40c1-abf9-7b17d43f64fb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_c7e86dff-8f39-4957-b5a6-8e0b1464beee" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_0719ffc4-b12b-413d-ac49-fa9c20f296ec" xlink:to="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_c7e86dff-8f39-4957-b5a6-8e0b1464beee" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_8c628925-32b7-4fed-97f2-bdfb2d2553f6" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax_6e53eb9e-6613-4425-b7f9-cd868de8eb9c" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_8c628925-32b7-4fed-97f2-bdfb2d2553f6" xlink:to="loc_goog_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax_6e53eb9e-6613-4425-b7f9-cd868de8eb9c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_1bd97c6a-6968-45c8-84ae-964c90bf166d" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_8c628925-32b7-4fed-97f2-bdfb2d2553f6" xlink:to="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_1bd97c6a-6968-45c8-84ae-964c90bf166d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_a3f683c2-d73a-4a2c-aeab-39eeadd30723" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNi"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax_f57b0266-4021-4864-9ffc-075f1266a6a2" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNi_a3f683c2-d73a-4a2c-aeab-39eeadd30723" xlink:to="loc_goog_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainLossBeforeTax_f57b0266-4021-4864-9ffc-075f1266a6a2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_760cbe3e-c0fa-4df7-a7cf-69b766238871" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNi_a3f683c2-d73a-4a2c-aeab-39eeadd30723" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCost_760cbe3e-c0fa-4df7-a7cf-69b766238871" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_e18eb0d9-e975-4dc3-b14a-f831a368d2cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_301e4b60-5f29-464c-ba32-7402a7974a34" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_e18eb0d9-e975-4dc3-b14a-f831a368d2cd" xlink:to="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueAccumulatedGrossUnrealizedGainLossBeforeTax_301e4b60-5f29-464c-ba32-7402a7974a34" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueCost_de012652-1db7-42ca-a2cd-a06e39b2b70c" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesWithoutReadilyDeterminableFairValueCost"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_e18eb0d9-e975-4dc3-b14a-f831a368d2cd" xlink:to="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueCost_de012652-1db7-42ca-a2cd-a06e39b2b70c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost_f746e8e9-b61d-4569-9f28-9fcb7c358e88" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_8c899ce7-d840-450d-91c0-186b1702db1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost_f746e8e9-b61d-4569-9f28-9fcb7c358e88" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCost_8c899ce7-d840-450d-91c0-186b1702db1b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueCost_a918e34c-a94b-4375-aa12-2c3e40f0db8f" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesWithoutReadilyDeterminableFairValueCost"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_goog_EquitySecuritiesFVNIAndWithoutReadilyDeterminableFairValueCost_f746e8e9-b61d-4569-9f28-9fcb7c358e88" xlink:to="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueCost_a918e34c-a94b-4375-aa12-2c3e40f0db8f" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails_1" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails_1"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsCarryingAmountofEquitySecuritiesDetails_1" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_e1f4b718-b0aa-4215-9e66-b2951da9f46d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_19dea46a-bf11-459a-aa9d-3e2098165095" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_e1f4b718-b0aa-4215-9e66-b2951da9f46d" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_19dea46a-bf11-459a-aa9d-3e2098165095" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_2511d9c7-815d-4cfb-ae3f-a9abfe991d32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNi"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_e1f4b718-b0aa-4215-9e66-b2951da9f46d" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_2511d9c7-815d-4cfb-ae3f-a9abfe991d32" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsMeasurementAlternativeInvestmentsDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsMeasurementAlternativeInvestmentsDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsMeasurementAlternativeInvestmentsDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_ab0ed34e-0ac9-4ee5-ae06-64124772b2f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_ffcf2f71-130b-4a52-9116-ee563135fe15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiRealizedGainLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_ab0ed34e-0ac9-4ee5-ae06-64124772b2f1" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_ffcf2f71-130b-4a52-9116-ee563135fe15" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_1ab248d1-faee-4b08-9a00-0401598bd141" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_ab0ed34e-0ac9-4ee5-ae06-64124772b2f1" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_1ab248d1-faee-4b08-9a00-0401598bd141" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueFVNIUnrealizedGainLoss_995ca936-e744-4f87-ab7c-a2fb26a8264f" xlink:href="goog-20231231.xsd#goog_EquitySecuritiesWithoutReadilyDeterminableFairValueFVNIUnrealizedGainLoss"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_ab0ed34e-0ac9-4ee5-ae06-64124772b2f1" xlink:to="loc_goog_EquitySecuritiesWithoutReadilyDeterminableFairValueFVNIUnrealizedGainLoss_995ca936-e744-4f87-ab7c-a2fb26a8264f" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsEffectofDerivativeInstrumentsonIncomeandAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsEffectofDerivativeInstrumentsonIncomeandAccumulatedOtherComprehensiveIncomeDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsEffectofDerivativeInstrumentsonIncomeandAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_36259766-3f48-4f39-95ba-f18de136064c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_1a03ddbd-3fe2-4af9-a16b-c9e942e0d058" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_36259766-3f48-4f39-95ba-f18de136064c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_1a03ddbd-3fe2-4af9-a16b-c9e942e0d058" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseBeforeAdjustmentsAndTax_de5f6ac8-e34e-4cbd-a806-c1e2d0cccfd1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseBeforeAdjustmentsAndTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_36259766-3f48-4f39-95ba-f18de136064c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseBeforeAdjustmentsAndTax_de5f6ac8-e34e-4cbd-a806-c1e2d0cccfd1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetInvestmentHedgeGainLossBeforeReclassificationAndTax_7e9f4a98-52c7-47cf-842d-51f6850c241b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetInvestmentHedgeGainLossBeforeReclassificationAndTax"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_36259766-3f48-4f39-95ba-f18de136064c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetInvestmentHedgeGainLossBeforeReclassificationAndTax_7e9f4a98-52c7-47cf-842d-51f6850c241b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_6df8ed36-3174-4520-8523-f63eb6c34513" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_6df8ed36-3174-4520-8523-f63eb6c34513" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingAmortizationApproachNet_95562854-d4c2-44e5-97b8-932bc1bf2077" xlink:href="goog-20231231.xsd#goog_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingAmortizationApproachNet"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:to="loc_goog_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingAmortizationApproachNet_95562854-d4c2-44e5-97b8-932bc1bf2077" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_df142006-f42c-4b8a-ac28-71539ec705d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_df142006-f42c-4b8a-ac28-71539ec705d6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_33d868b9-b915-4e17-956a-9fa68714cfb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_33d868b9-b915-4e17-956a-9fa68714cfb3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet_b7f00b0b-2826-4961-865c-6f158c540c9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:to="loc_us-gaap_GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet_b7f00b0b-2826-4961-865c-6f158c540c9c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_GainLossFromComponentsExcludedFromAssessmentOfNetInvestmentHedgeEffectivenessNet_e72a383f-eaf2-4084-8ba3-95d7e59dcf8e" xlink:href="goog-20231231.xsd#goog_GainLossFromComponentsExcludedFromAssessmentOfNetInvestmentHedgeEffectivenessNet"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:to="loc_goog_GainLossFromComponentsExcludedFromAssessmentOfNetInvestmentHedgeEffectivenessNet_e72a383f-eaf2-4084-8ba3-95d7e59dcf8e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_28f21145-1d95-43c2-8cbf-d1d5b95b09d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_b76de11f-0ebe-45a4-9f35-8640efe137b7" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_28f21145-1d95-43c2-8cbf-d1d5b95b09d4" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsOffsettingofFinancialAssetsandFinancialLiabilitiesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsOffsettingofFinancialAssetsandFinancialLiabilitiesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsOffsettingofFinancialAssetsandFinancialLiabilitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec08c30e-0f1a-4ff7-93f2-9b3e527b5005" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_aeca6807-8134-4be0-aef9-94ea60d55715" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilities"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec08c30e-0f1a-4ff7-93f2-9b3e527b5005" xlink:to="loc_us-gaap_DerivativeLiabilities_aeca6807-8134-4be0-aef9-94ea60d55715" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_f3d0b5b6-e057-4e72-8d7c-f15a555b4e76" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec08c30e-0f1a-4ff7-93f2-9b3e527b5005" xlink:to="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_f3d0b5b6-e057-4e72-8d7c-f15a555b4e76" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_DerivativeLiabilitySubjectToMasterNettingArrangementCollateralRightToReclaimCashAndSecurityNotOffset_80bf201b-a1f9-4133-8957-6f3326905af7" xlink:href="goog-20231231.xsd#goog_DerivativeLiabilitySubjectToMasterNettingArrangementCollateralRightToReclaimCashAndSecurityNotOffset"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec08c30e-0f1a-4ff7-93f2-9b3e527b5005" xlink:to="loc_goog_DerivativeLiabilitySubjectToMasterNettingArrangementCollateralRightToReclaimCashAndSecurityNotOffset_80bf201b-a1f9-4133-8957-6f3326905af7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_5fb8e31d-f42b-4500-804f-543caffc6d89" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_11017a17-7f22-418c-900f-b0f5487cef3c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_5fb8e31d-f42b-4500-804f-543caffc6d89" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_11017a17-7f22-418c-900f-b0f5487cef3c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_f78bc718-8cf8-4ff0-a09c-5a5048c15eaf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_5fb8e31d-f42b-4500-804f-543caffc6d89" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_f78bc718-8cf8-4ff0-a09c-5a5048c15eaf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_f5277718-5df4-4fef-aeb1-d39f9eec852b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_88d58e8b-0396-4081-b2ea-52ec5020d069" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_f5277718-5df4-4fef-aeb1-d39f9eec852b" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_88d58e8b-0396-4081-b2ea-52ec5020d069" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_9699aa76-9cf6-48db-94aa-7e9916e6b9c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_f5277718-5df4-4fef-aeb1-d39f9eec852b" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_9699aa76-9cf6-48db-94aa-7e9916e6b9c3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec767394-f47a-4106-9141-a3755ac2ed5f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_6d8437f9-97fa-4c7c-a3e4-a191b1c49a93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec767394-f47a-4106-9141-a3755ac2ed5f" xlink:to="loc_us-gaap_DerivativeAssets_6d8437f9-97fa-4c7c-a3e4-a191b1c49a93" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_a31a1aee-f006-4320-8bed-769c44b05af4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec767394-f47a-4106-9141-a3755ac2ed5f" xlink:to="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_a31a1aee-f006-4320-8bed-769c44b05af4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_DerivativeAssetSubjectToMasterNettingArrangementCollateralObligationToReturnCashAndSecurityNotOffset_3dbda53e-8e41-47c5-b709-153825258cc3" xlink:href="goog-20231231.xsd#goog_DerivativeAssetSubjectToMasterNettingArrangementCollateralObligationToReturnCashAndSecurityNotOffset"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_ec767394-f47a-4106-9141-a3755ac2ed5f" xlink:to="loc_goog_DerivativeAssetSubjectToMasterNettingArrangementCollateralObligationToReturnCashAndSecurityNotOffset_3dbda53e-8e41-47c5-b709-153825258cc3" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/FinancialInstrumentsSummaryofGainsandLossesforDebtSecuritiesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#FinancialInstrumentsSummaryofGainsandLossesforDebtSecuritiesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/FinancialInstrumentsSummaryofGainsandLossesforDebtSecuritiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleGainLoss_4dcd7701-7e9a-4245-8421-5a3fe24d10af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleGainLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_FairValueOptionDebtSecuritiesAvailableForSaleUnrealizedGainLoss_afb00946-c2e4-420b-88fb-2ac6a574d3b8" xlink:href="goog-20231231.xsd#goog_FairValueOptionDebtSecuritiesAvailableForSaleUnrealizedGainLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleGainLoss_4dcd7701-7e9a-4245-8421-5a3fe24d10af" xlink:to="loc_goog_FairValueOptionDebtSecuritiesAvailableForSaleUnrealizedGainLoss_afb00946-c2e4-420b-88fb-2ac6a574d3b8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_3e527122-f766-4e00-aa38-869a732b56db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleGainLoss_4dcd7701-7e9a-4245-8421-5a3fe24d10af" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_3e527122-f766-4e00-aa38-869a732b56db" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_5752af56-2af0-4927-8bda-ea73d82be57e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleGainLoss_4dcd7701-7e9a-4245-8421-5a3fe24d10af" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_5752af56-2af0-4927-8bda-ea73d82be57e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLossPeriodIncreaseDecrease_726e7730-2ee9-4c02-8144-0517aa5a0aea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLossPeriodIncreaseDecrease"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleGainLoss_4dcd7701-7e9a-4245-8421-5a3fe24d10af" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLossPeriodIncreaseDecrease_726e7730-2ee9-4c02-8144-0517aa5a0aea" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/LeasesComponentsofOperatingLeaseExpenseDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#LeasesComponentsofOperatingLeaseExpenseDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/LeasesComponentsofOperatingLeaseExpenseDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_3474cc81-763d-45e1-81c3-00ed81df612e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseCost"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_5772edd0-4e07-4581-ba5a-5cb5a2bd4d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseCost"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_3474cc81-763d-45e1-81c3-00ed81df612e" xlink:to="loc_us-gaap_OperatingLeaseCost_5772edd0-4e07-4581-ba5a-5cb5a2bd4d7f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_929689ee-2edd-4eaf-9303-1e2bb964ea4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableLeaseCost"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_3474cc81-763d-45e1-81c3-00ed81df612e" xlink:to="loc_us-gaap_VariableLeaseCost_929689ee-2edd-4eaf-9303-1e2bb964ea4d" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/LeasesFutureMinimumLeasePaymentsDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#LeasesFutureMinimumLeasePaymentsDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/LeasesFutureMinimumLeasePaymentsDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8a5cc3c3-6880-4d21-b137-69b9f12e0c51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_132e067d-62db-4728-b303-375e2a10ef3f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8a5cc3c3-6880-4d21-b137-69b9f12e0c51" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_132e067d-62db-4728-b303-375e2a10ef3f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_93c7e9cc-7d0e-46a6-a24e-ec5b2d2c3b39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8a5cc3c3-6880-4d21-b137-69b9f12e0c51" xlink:to="loc_us-gaap_OperatingLeaseLiability_93c7e9cc-7d0e-46a6-a24e-ec5b2d2c3b39" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/LeasesFutureMinimumLeasePaymentsDetails_1" xlink:type="simple" xlink:href="goog-20231231.xsd#LeasesFutureMinimumLeasePaymentsDetails_1"/>
<link:calculationLink xlink:role="http://www.google.com/role/LeasesFutureMinimumLeasePaymentsDetails_1" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82f089b8-c2e1-4df5-831c-c7f9339492a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_75f61346-e79d-4538-847a-67b957c88b86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82f089b8-c2e1-4df5-831c-c7f9339492a5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_75f61346-e79d-4538-847a-67b957c88b86" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_99434ab0-a4f3-41bc-bfde-8cbb6baee526" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82f089b8-c2e1-4df5-831c-c7f9339492a5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_99434ab0-a4f3-41bc-bfde-8cbb6baee526" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_e499431b-dbc9-44d5-a505-a0b7b30f0bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82f089b8-c2e1-4df5-831c-c7f9339492a5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_e499431b-dbc9-44d5-a505-a0b7b30f0bb9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_55cdcde3-2573-437e-84d0-c3b3d0a0eaae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82f089b8-c2e1-4df5-831c-c7f9339492a5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_55cdcde3-2573-437e-84d0-c3b3d0a0eaae" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e0cd4ef5-402a-4182-9581-e2846d9ddab2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82f089b8-c2e1-4df5-831c-c7f9339492a5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e0cd4ef5-402a-4182-9581-e2846d9ddab2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_d3ee8187-2157-4404-ac2c-e7027f6ec265" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82f089b8-c2e1-4df5-831c-c7f9339492a5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_d3ee8187-2157-4404-ac2c-e7027f6ec265" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/DebtLongTermDebtDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#DebtLongTermDebtDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/DebtLongTermDebtDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_5bf268fc-c877-4b10-9d05-8b4db1e16838" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_fdbbfff4-f25e-435f-9500-62f93c602128" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_5bf268fc-c877-4b10-9d05-8b4db1e16838" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_fdbbfff4-f25e-435f-9500-62f93c602128" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_97e77cd9-436c-45bc-9248-6720f78d6ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_5bf268fc-c877-4b10-9d05-8b4db1e16838" xlink:to="loc_us-gaap_FinanceLeaseLiability_97e77cd9-436c-45bc-9248-6720f78d6ad9" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/DebtFuturePrincipalPaymentsforBorrowingsDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#DebtFuturePrincipalPaymentsforBorrowingsDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/DebtFuturePrincipalPaymentsforBorrowingsDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_2764493d-fdda-4f77-8fb8-3e94fd8731ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_e7f700b9-a398-49df-8d13-c76b17e71270" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2764493d-fdda-4f77-8fb8-3e94fd8731ab" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_e7f700b9-a398-49df-8d13-c76b17e71270" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_c5aa3270-5648-4954-a080-3fc4b933b894" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2764493d-fdda-4f77-8fb8-3e94fd8731ab" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_c5aa3270-5648-4954-a080-3fc4b933b894" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_7799842c-ef71-4871-bc9a-8895ae64647a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2764493d-fdda-4f77-8fb8-3e94fd8731ab" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_7799842c-ef71-4871-bc9a-8895ae64647a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_bc4e018b-a25c-4bb4-92a8-073c19223e3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2764493d-fdda-4f77-8fb8-3e94fd8731ab" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_bc4e018b-a25c-4bb4-92a8-073c19223e3b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_8acffadc-588f-46ad-b11b-d51df905431b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2764493d-fdda-4f77-8fb8-3e94fd8731ab" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_8acffadc-588f-46ad-b11b-d51df905431b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_d1fc6dcc-5829-4786-86c0-91f02739a494" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2764493d-fdda-4f77-8fb8-3e94fd8731ab" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_d1fc6dcc-5829-4786-86c0-91f02739a494" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationPropertyandEquipmentDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#SupplementalFinancialStatementInformationPropertyandEquipmentDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/SupplementalFinancialStatementInformationPropertyandEquipmentDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_bd536bec-be98-4710-91cf-bd13e733b8cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c9e05d0e-e0a8-45e5-b76a-9cbc9589788a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_bd536bec-be98-4710-91cf-bd13e733b8cc" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c9e05d0e-e0a8-45e5-b76a-9cbc9589788a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_88dd4b4b-5e9f-4d39-a9ac-a5f4bcd29298" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_bd536bec-be98-4710-91cf-bd13e733b8cc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_88dd4b4b-5e9f-4d39-a9ac-a5f4bcd29298" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationAccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#SupplementalFinancialStatementInformationAccruedExpensesandOtherCurrentLiabilitiesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/SupplementalFinancialStatementInformationAccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_48ab5b3b-7cff-4529-819c-f2f4e09a4e06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyAccrualCarryingValueCurrent_ef15d268-a3a9-4276-8f7e-8281cef31cd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LossContingencyAccrualCarryingValueCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_48ab5b3b-7cff-4529-819c-f2f4e09a4e06" xlink:to="loc_us-gaap_LossContingencyAccrualCarryingValueCurrent_ef15d268-a3a9-4276-8f7e-8281cef31cd5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_AccruedPurchasesOfPropertyAndEquipmentCurrent_6d64f3e7-fba0-4cba-9a4b-70679d9f221d" xlink:href="goog-20231231.xsd#goog_AccruedPurchasesOfPropertyAndEquipmentCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_48ab5b3b-7cff-4529-819c-f2f4e09a4e06" xlink:to="loc_goog_AccruedPurchasesOfPropertyAndEquipmentCurrent_6d64f3e7-fba0-4cba-9a4b-70679d9f221d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_AccruedCustomerLiabilitiesCurrent_0e40a395-862a-446c-b783-2283cc71ce8a" xlink:href="goog-20231231.xsd#goog_AccruedCustomerLiabilitiesCurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_48ab5b3b-7cff-4529-819c-f2f4e09a4e06" xlink:to="loc_goog_AccruedCustomerLiabilitiesCurrent_0e40a395-862a-446c-b783-2283cc71ce8a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_6ad383ec-d20a-4f63-a1da-7df5339dd1a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_48ab5b3b-7cff-4529-819c-f2f4e09a4e06" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_6ad383ec-d20a-4f63-a1da-7df5339dd1a6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_edfb640d-853d-4d6d-8950-5e46c3cc9cc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_48ab5b3b-7cff-4529-819c-f2f4e09a4e06" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_edfb640d-853d-4d6d-8950-5e46c3cc9cc3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_9e6b9d6e-270b-4a0a-9343-900c19352776" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_48ab5b3b-7cff-4529-819c-f2f4e09a4e06" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_9e6b9d6e-270b-4a0a-9343-900c19352776" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationComponentsofAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#SupplementalFinancialStatementInformationComponentsofAccumulatedOtherComprehensiveIncomeDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/SupplementalFinancialStatementInformationComponentsofAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d8a080b7-4185-4b2e-8293-40e71677a06a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_77227fb3-27d5-4ea4-958a-97b50e63f68b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d8a080b7-4185-4b2e-8293-40e71677a06a" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_77227fb3-27d5-4ea4-958a-97b50e63f68b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_3e38035f-34e4-4a04-988f-0b7dbfdcc3dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d8a080b7-4185-4b2e-8293-40e71677a06a" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_3e38035f-34e4-4a04-988f-0b7dbfdcc3dd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessRecordedInAOCINet_37d21f9e-fa5b-4368-ac75-ff1280592204" xlink:href="goog-20231231.xsd#goog_GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessRecordedInAOCINet"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d8a080b7-4185-4b2e-8293-40e71677a06a" xlink:to="loc_goog_GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessRecordedInAOCINet_37d21f9e-fa5b-4368-ac75-ff1280592204" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/SupplementalFinancialStatementInformationComponentsofOtherIncomeExpenseNetDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#SupplementalFinancialStatementInformationComponentsofOtherIncomeExpenseNetDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/SupplementalFinancialStatementInformationComponentsofOtherIncomeExpenseNetDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOther_978bdc87-edb9-4a55-8b4c-039055b98d32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeOther"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_us-gaap_InterestIncomeOther_978bdc87-edb9-4a55-8b4c-039055b98d32" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ff998132-aa5e-47df-a4e5-edd69a280aa5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_us-gaap_InterestExpense_ff998132-aa5e-47df-a4e5-edd69a280aa5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_39125b87-81d1-4d21-8d4e-ad12b61f294b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_39125b87-81d1-4d21-8d4e-ad12b61f294b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesRealizedGainLoss_be9088ec-0c26-4e6a-89dc-6c6a364cc6c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesRealizedGainLoss"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_us-gaap_DebtSecuritiesRealizedGainLoss_be9088ec-0c26-4e6a-89dc-6c6a364cc6c0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_377b3117-faba-4fbf-824b-f4e0419daa20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_377b3117-faba-4fbf-824b-f4e0419daa20" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_f652a3d9-4326-4f9f-ad24-9576062f1711" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_f652a3d9-4326-4f9f-ad24-9576062f1711" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_IncomeLossFromEquityMethodInvestmentsAndOtherThanTemporaryImpairmentNet_058fdda1-8ec3-461c-b786-674cbf0f7aec" xlink:href="goog-20231231.xsd#goog_IncomeLossFromEquityMethodInvestmentsAndOtherThanTemporaryImpairmentNet"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_goog_IncomeLossFromEquityMethodInvestmentsAndOtherThanTemporaryImpairmentNet_058fdda1-8ec3-461c-b786-674cbf0f7aec" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_InvestmentPerformanceFees_7dbb1ae6-73b9-45c3-af98-239d0896309c" xlink:href="goog-20231231.xsd#goog_InvestmentPerformanceFees"/>
<link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_404ff091-b650-4cb9-b147-2002857694a1" xlink:to="loc_goog_InvestmentPerformanceFees_7dbb1ae6-73b9-45c3-af98-239d0896309c" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/NetIncomePerShareScheduleofEarningsPerShareDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#NetIncomePerShareScheduleofEarningsPerShareDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/NetIncomePerShareScheduleofEarningsPerShareDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_4b326380-1e67-4c4e-ab03-6ded93e7f3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_ReallocationOfUndistributedEarningsAsResultOfConversionOfShares_733377c3-b05e-4bb3-a201-9d01d2065179" xlink:href="goog-20231231.xsd#goog_ReallocationOfUndistributedEarningsAsResultOfConversionOfShares"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_4b326380-1e67-4c4e-ab03-6ded93e7f3b5" xlink:to="loc_goog_ReallocationOfUndistributedEarningsAsResultOfConversionOfShares_733377c3-b05e-4bb3-a201-9d01d2065179" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_ReallocationOfUndistributedEarnings_c1a6a62f-cc00-4bbb-aaec-4f6aa87c94ca" xlink:href="goog-20231231.xsd#goog_ReallocationOfUndistributedEarnings"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_4b326380-1e67-4c4e-ab03-6ded93e7f3b5" xlink:to="loc_goog_ReallocationOfUndistributedEarnings_c1a6a62f-cc00-4bbb-aaec-4f6aa87c94ca" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_0bb84b81-206f-4974-9604-1f01b5658553" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_4b326380-1e67-4c4e-ab03-6ded93e7f3b5" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_0bb84b81-206f-4974-9604-1f01b5658553" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8e6cc11c-d556-487f-bd16-5f47e89e403e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_15c79308-d1ce-4132-a74b-2f888f4732f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8e6cc11c-d556-487f-bd16-5f47e89e403e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_15c79308-d1ce-4132-a74b-2f888f4732f3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_IncrementalCommonSharesAttributableToConversionOfCommonStock_71256780-e218-4983-9d93-f5e9fa15b5b5" xlink:href="goog-20231231.xsd#goog_IncrementalCommonSharesAttributableToConversionOfCommonStock"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8e6cc11c-d556-487f-bd16-5f47e89e403e" xlink:to="loc_goog_IncrementalCommonSharesAttributableToConversionOfCommonStock_71256780-e218-4983-9d93-f5e9fa15b5b5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_f72d6174-5e59-4c39-92e5-f990cbc74718" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8e6cc11c-d556-487f-bd16-5f47e89e403e" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_f72d6174-5e59-4c39-92e5-f990cbc74718" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/IncomeTaxesIncomeFromContinuingOperationsBeforeIncomeTaxesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#IncomeTaxesIncomeFromContinuingOperationsBeforeIncomeTaxesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/IncomeTaxesIncomeFromContinuingOperationsBeforeIncomeTaxesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8b199163-8523-42a2-beb6-90a6634dc3f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_fae8d301-4f32-44ac-afc4-d13e55fed0bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8b199163-8523-42a2-beb6-90a6634dc3f8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_fae8d301-4f32-44ac-afc4-d13e55fed0bd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_49936b0f-d106-4763-848c-1ef94c41b37c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8b199163-8523-42a2-beb6-90a6634dc3f8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_49936b0f-d106-4763-848c-1ef94c41b37c" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#IncomeTaxesProvisionforIncomeTaxesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_c5a458e1-5a9f-489e-8639-670da9d33ac5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_399e1d70-bf37-41b4-bc66-125e0f109004" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c5a458e1-5a9f-489e-8639-670da9d33ac5" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_399e1d70-bf37-41b4-bc66-125e0f109004" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f657f384-9767-4021-a694-1869f62e07e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c5a458e1-5a9f-489e-8639-670da9d33ac5" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f657f384-9767-4021-a694-1869f62e07e8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_af35e6a6-2c8d-4ad9-ba0e-a7fc9de40128" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_255fda2a-d57d-4679-82e9-e5b2ebfc37ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_af35e6a6-2c8d-4ad9-ba0e-a7fc9de40128" xlink:to="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_255fda2a-d57d-4679-82e9-e5b2ebfc37ef" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_89a376f4-006f-4e74-a209-a16c5747b940" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_af35e6a6-2c8d-4ad9-ba0e-a7fc9de40128" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_89a376f4-006f-4e74-a209-a16c5747b940" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1dd65632-5ce9-4612-9038-d39c1672811b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_2bd6f587-f906-42b5-8a56-94452054cbc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1dd65632-5ce9-4612-9038-d39c1672811b" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_2bd6f587-f906-42b5-8a56-94452054cbc3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_8cddb055-a79b-4dc4-8fcb-d7907b62cade" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1dd65632-5ce9-4612-9038-d39c1672811b" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_8cddb055-a79b-4dc4-8fcb-d7907b62cade" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveIncomeTaxRateDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveIncomeTaxRateDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_c359711a-a7df-4979-91c2-c97c831d0f88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_c359711a-a7df-4979-91c2-c97c831d0f88" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_19ef7113-cdf7-4902-acff-ed0abbb0d244" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_19ef7113-cdf7-4902-acff-ed0abbb0d244" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_9e2b512e-c97a-47fb-b937-567f2a1b2d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_9e2b512e-c97a-47fb-b937-567f2a1b2d7f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_6546cb08-a78a-43a1-8f97-07714e3d0c84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_6546cb08-a78a-43a1-8f97-07714e3d0c84" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_1601b62a-2949-45d3-8b63-c4f086ce71a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_1601b62a-2949-45d3-8b63-c4f086ce71a0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_27383d5c-58b3-4412-851c-00e1a939c7ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_27383d5c-58b3-4412-851c-00e1a939c7ce" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_2dccee94-30ac-4670-91d5-e202bf71e1d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_2dccee94-30ac-4670-91d5-e202bf71e1d1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_EffectiveIncomeTaxRateReconciliationImpactOfTaxLawChangePercent_6b5bc53c-7e0e-493d-873f-ab39032a3976" xlink:href="goog-20231231.xsd#goog_EffectiveIncomeTaxRateReconciliationImpactOfTaxLawChangePercent"/>
<link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_goog_EffectiveIncomeTaxRateReconciliationImpactOfTaxLawChangePercent_6b5bc53c-7e0e-493d-873f-ab39032a3976" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_b3c650a3-c42f-4b38-b336-741e82715c64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
<link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3d253f2e-7bb3-4911-a5b8-010b3173141c" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_b3c650a3-c42f-4b38-b336-741e82715c64" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.google.com/role/IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="goog-20231231.xsd#IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails"/>
<link:calculationLink xlink:role="http://www.google.com/role/IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_2b55a679-f672-4fcd-bcbe-d353a15ea9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_b15810c7-8f48-4de8-b2ab-9855121168c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_2b55a679-f672-4fcd-bcbe-d353a15ea9dd" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_b15810c7-8f48-4de8-b2ab-9855121168c4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_f97cb8a8-0270-433c-8953-500c2374f8d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_2b55a679-f672-4fcd-bcbe-d353a15ea9dd" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_f97cb8a8-0270-433c-8953-500c2374f8d2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_94e0cc13-b5ca-4a81-8e65-1c4094e33fab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_94e0cc13-b5ca-4a81-8e65-1c4094e33fab" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_b5f14f6b-f379-48cd-8685-f7975108ad86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_b5f14f6b-f379-48cd-8685-f7975108ad86" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsOther_933ec16c-c2f3-4707-a245-eaeeff2a358d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsOther"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsOther_933ec16c-c2f3-4707-a245-eaeeff2a358d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_90694c64-48f4-47c9-92db-9ee5ba9c925b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_90694c64-48f4-47c9-92db-9ee5ba9c925b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_DeferredTaxAssetsOperatingLeaseRightOfUseAsset_a7cd1d5a-3081-4b6d-8219-f7bb9858020a" xlink:href="goog-20231231.xsd#goog_DeferredTaxAssetsOperatingLeaseRightOfUseAsset"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:to="loc_goog_DeferredTaxAssetsOperatingLeaseRightOfUseAsset_a7cd1d5a-3081-4b6d-8219-f7bb9858020a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_d16b31e9-0b46-4dc3-af90-307c0c376af3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_d16b31e9-0b46-4dc3-af90-307c0c376af3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_38561e92-a951-43f3-94d6-5d60f90518f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOther"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_22dded16-38b8-4eb1-921c-25227a6caa99" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_38561e92-a951-43f3-94d6-5d60f90518f8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_531d4cb2-5005-41be-af31-f1b1f3d4824e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_c02baa45-5ff3-4e4d-9d9e-8e7bdaef8c4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_531d4cb2-5005-41be-af31-f1b1f3d4824e" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_c02baa45-5ff3-4e4d-9d9e-8e7bdaef8c4d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestments_fd6f4b3c-4f1b-4589-988a-661ad7302324" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesInvestments"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_531d4cb2-5005-41be-af31-f1b1f3d4824e" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestments_fd6f4b3c-4f1b-4589-988a-661ad7302324" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_6a7f0c00-9899-41c0-beb0-f1ce0361209b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_531d4cb2-5005-41be-af31-f1b1f3d4824e" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_6a7f0c00-9899-41c0-beb0-f1ce0361209b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_goog_DeferredTaxLiabilitiesOperatingLeaseLiability_bc1267aa-71bb-49f4-bb06-670d5762e638" xlink:href="goog-20231231.xsd#goog_DeferredTaxLiabilitiesOperatingLeaseLiability"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_531d4cb2-5005-41be-af31-f1b1f3d4824e" xlink:to="loc_goog_DeferredTaxLiabilitiesOperatingLeaseLiability_bc1267aa-71bb-49f4-bb06-670d5762e638" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_c830444c-c84d-4862-92dd-4a7098be2ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_c8c4461e-b69e-491c-9412-2f67bb48c424" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_c830444c-c84d-4862-92dd-4a7098be2ebf" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_c8c4461e-b69e-491c-9412-2f67bb48c424" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d597fe7a-ecea-4cf7-bf74-546973b02ba2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_c830444c-c84d-4862-92dd-4a7098be2ebf" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d597fe7a-ecea-4cf7-bf74-546973b02ba2" xlink:type="arc"/>
</link:calculationLink>
</link:linkbase>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,573 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:c68c2fd8-345e-4faa-8610-8b173d5da094,g:843081e3-ad04-4f75-a78c-e87ea3423788-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:aapl="http://www.apple.com/20230930" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types1="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.apple.com/20230930">
<xs:import namespace="http://fasb.org/srt/2023" schemaLocation="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd"/>
<xs:import namespace="http://fasb.org/us-gaap/2023" schemaLocation="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
<xs:import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd"/>
<xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/country/2023" schemaLocation="https://xbrl.sec.gov/country/2023/country-2023.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/dei/2023" schemaLocation="https://xbrl.sec.gov/dei/2023/dei-2023.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/ecd/2023" schemaLocation="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd"/>
<xs:annotation>
<xs:appinfo>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="aapl-20230930_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="aapl-20230930_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="aapl-20230930_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="aapl-20230930_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
<link:roleType id="CoverPage" roleURI="http://www.apple.com/role/CoverPage">
<link:definition>0000001 - Document - Cover Page</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="AuditorInformation" roleURI="http://www.apple.com/role/AuditorInformation">
<link:definition>0000002 - Document - Auditor Information</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFOPERATIONS" roleURI="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS">
<link:definition>0000003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" roleURI="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME">
<link:definition>0000004 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDBALANCESHEETS" roleURI="http://www.apple.com/role/CONSOLIDATEDBALANCESHEETS">
<link:definition>0000005 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://www.apple.com/role/CONSOLIDATEDBALANCESHEETSParenthetical">
<link:definition>0000006 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY" roleURI="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY">
<link:definition>0000007 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS">
<link:definition>0000008 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPolicies" roleURI="http://www.apple.com/role/SummaryofSignificantAccountingPolicies">
<link:definition>0000009 - Disclosure - Summary of Significant Accounting Policies</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Revenue" roleURI="http://www.apple.com/role/Revenue">
<link:definition>0000010 - Disclosure - Revenue</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EarningsPerShare" roleURI="http://www.apple.com/role/EarningsPerShare">
<link:definition>0000011 - Disclosure - Earnings Per Share</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstruments" roleURI="http://www.apple.com/role/FinancialInstruments">
<link:definition>0000012 - Disclosure - Financial Instruments</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipment" roleURI="http://www.apple.com/role/PropertyPlantandEquipment">
<link:definition>0000013 - Disclosure - Property, Plant and Equipment</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedFinancialStatementDetails" roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetails">
<link:definition>0000014 - Disclosure - Consolidated Financial Statement Details</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxes" roleURI="http://www.apple.com/role/IncomeTaxes">
<link:definition>0000015 - Disclosure - Income Taxes</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Leases" roleURI="http://www.apple.com/role/Leases">
<link:definition>0000016 - Disclosure - Leases</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Debt" roleURI="http://www.apple.com/role/Debt">
<link:definition>0000017 - Disclosure - Debt</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareholdersEquity" roleURI="http://www.apple.com/role/ShareholdersEquity">
<link:definition>0000018 - Disclosure - Shareholders' Equity</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareBasedCompensation" roleURI="http://www.apple.com/role/ShareBasedCompensation">
<link:definition>0000019 - Disclosure - Share-Based Compensation</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CommitmentsContingenciesandSupplyConcentrations" roleURI="http://www.apple.com/role/CommitmentsContingenciesandSupplyConcentrations">
<link:definition>0000020 - Disclosure - Commitments, Contingencies and Supply Concentrations</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentInformationandGeographicData" roleURI="http://www.apple.com/role/SegmentInformationandGeographicData">
<link:definition>0000021 - Disclosure - Segment Information and Geographic Data</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesPolicies" roleURI="http://www.apple.com/role/SummaryofSignificantAccountingPoliciesPolicies">
<link:definition>9954471 - Disclosure - Summary of Significant Accounting Policies (Policies)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenueTables" roleURI="http://www.apple.com/role/RevenueTables">
<link:definition>9954472 - Disclosure - Revenue (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EarningsPerShareTables" roleURI="http://www.apple.com/role/EarningsPerShareTables">
<link:definition>9954473 - Disclosure - Earnings Per Share (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsTables" roleURI="http://www.apple.com/role/FinancialInstrumentsTables">
<link:definition>9954474 - Disclosure - Financial Instruments (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipmentTables" roleURI="http://www.apple.com/role/PropertyPlantandEquipmentTables">
<link:definition>9954475 - Disclosure - Property, Plant and Equipment (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedFinancialStatementDetailsTables" roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsTables">
<link:definition>9954476 - Disclosure - Consolidated Financial Statement Details (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesTables" roleURI="http://www.apple.com/role/IncomeTaxesTables">
<link:definition>9954477 - Disclosure - Income Taxes (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesTables" roleURI="http://www.apple.com/role/LeasesTables">
<link:definition>9954478 - Disclosure - Leases (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtTables" roleURI="http://www.apple.com/role/DebtTables">
<link:definition>9954479 - Disclosure - Debt (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareholdersEquityTables" roleURI="http://www.apple.com/role/ShareholdersEquityTables">
<link:definition>9954480 - Disclosure - Shareholders' Equity (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareBasedCompensationTables" roleURI="http://www.apple.com/role/ShareBasedCompensationTables">
<link:definition>9954481 - Disclosure - Share-Based Compensation (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CommitmentsContingenciesandSupplyConcentrationsTables" roleURI="http://www.apple.com/role/CommitmentsContingenciesandSupplyConcentrationsTables">
<link:definition>9954482 - Disclosure - Commitments, Contingencies and Supply Concentrations (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentInformationandGeographicDataTables" roleURI="http://www.apple.com/role/SegmentInformationandGeographicDataTables">
<link:definition>9954483 - Disclosure - Segment Information and Geographic Data (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenueAdditionalInformationDetails" roleURI="http://www.apple.com/role/RevenueAdditionalInformationDetails">
<link:definition>9954484 - Disclosure - Revenue - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenueNetSalesDisaggregatedbySignificantProductsandServicesDetails" roleURI="http://www.apple.com/role/RevenueNetSalesDisaggregatedbySignificantProductsandServicesDetails">
<link:definition>9954485 - Disclosure - Revenue - Net Sales Disaggregated by Significant Products and Services (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenueDeferredRevenueExpectedTimingofRealizationDetails" roleURI="http://www.apple.com/role/RevenueDeferredRevenueExpectedTimingofRealizationDetails">
<link:definition>9954486 - Disclosure - Revenue - Deferred Revenue, Expected Timing of Realization (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RevenueDeferredRevenueExpectedTimingofRealizationDetails_1" roleURI="http://www.apple.com/role/RevenueDeferredRevenueExpectedTimingofRealizationDetails_1">
<link:definition>9954486 - Disclosure - Revenue - Deferred Revenue, Expected Timing of Realization (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EarningsPerShareComputationofBasicandDilutedEarningsPerShareDetails" roleURI="http://www.apple.com/role/EarningsPerShareComputationofBasicandDilutedEarningsPerShareDetails">
<link:definition>9954487 - Disclosure - Earnings Per Share - Computation of Basic and Diluted Earnings Per Share (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EarningsPerShareAdditionalInformationDetails" roleURI="http://www.apple.com/role/EarningsPerShareAdditionalInformationDetails">
<link:definition>9954488 - Disclosure - Earnings Per Share - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails" roleURI="http://www.apple.com/role/FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails">
<link:definition>9954489 - Disclosure - Financial Instruments - Cash, Cash Equivalents and Marketable Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails_1" roleURI="http://www.apple.com/role/FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails_1">
<link:definition>9954489 - Disclosure - Financial Instruments - Cash, Cash Equivalents and Marketable Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsNonCurrentMarketableDebtSecuritiesbyContractualMaturityDetails" roleURI="http://www.apple.com/role/FinancialInstrumentsNonCurrentMarketableDebtSecuritiesbyContractualMaturityDetails">
<link:definition>9954490 - Disclosure - Financial Instruments - Non-Current Marketable Debt Securities by Contractual Maturity (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsAdditionalInformationDetails" roleURI="http://www.apple.com/role/FinancialInstrumentsAdditionalInformationDetails">
<link:definition>9954491 - Disclosure - Financial Instruments - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsNotionalAmountsAssociatedwithDerivativeInstrumentsDetails" roleURI="http://www.apple.com/role/FinancialInstrumentsNotionalAmountsAssociatedwithDerivativeInstrumentsDetails">
<link:definition>9954492 - Disclosure - Financial Instruments - Notional Amounts Associated with Derivative Instruments (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsGrossFairValuesofDerivativeAssetsandLiabilitiesDetails" roleURI="http://www.apple.com/role/FinancialInstrumentsGrossFairValuesofDerivativeAssetsandLiabilitiesDetails">
<link:definition>9954493 - Disclosure - Financial Instruments - Gross Fair Values of Derivative Assets and Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FinancialInstrumentsDerivativeInstrumentsDesignatedasFairValueHedgesandRelatedHedgedItemsDetails" roleURI="http://www.apple.com/role/FinancialInstrumentsDerivativeInstrumentsDesignatedasFairValueHedgesandRelatedHedgedItemsDetails">
<link:definition>9954494 - Disclosure - Financial Instruments - Derivative Instruments Designated as Fair Value Hedges and Related Hedged Items (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipmentGrossPropertyPlantandEquipmentbyMajorAssetClassandAccumulatedDepreciationDetails" roleURI="http://www.apple.com/role/PropertyPlantandEquipmentGrossPropertyPlantandEquipmentbyMajorAssetClassandAccumulatedDepreciationDetails">
<link:definition>9954495 - Disclosure - Property, Plant and Equipment - Gross Property, Plant and Equipment by Major Asset Class and Accumulated Depreciation (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipmentAdditionalInformationDetails" roleURI="http://www.apple.com/role/PropertyPlantandEquipmentAdditionalInformationDetails">
<link:definition>9954496 - Disclosure - Property, Plant, and Equipment - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedFinancialStatementDetailsOtherNonCurrentAssetsDetails" roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherNonCurrentAssetsDetails">
<link:definition>9954497 - Disclosure - Consolidated Financial Statement Details &#8211; Other Non-Current Assets (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedFinancialStatementDetailsOtherCurrentLiabilitiesDetails" roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherCurrentLiabilitiesDetails">
<link:definition>9954498 - Disclosure - Consolidated Financial Statement Details &#8211; Other Current Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedFinancialStatementDetailsOtherNonCurrentLiabilitiesDetails" roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherNonCurrentLiabilitiesDetails">
<link:definition>9954499 - Disclosure - Consolidated Financial Statement Details - Other Non-Current Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedFinancialStatementDetailsOtherIncomeExpenseNetDetails" roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherIncomeExpenseNetDetails">
<link:definition>9954500 - Disclosure - Consolidated Financial Statement Details - Other Income/(Expense), Net (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesProvisionforIncomeTaxesDetails" roleURI="http://www.apple.com/role/IncomeTaxesProvisionforIncomeTaxesDetails">
<link:definition>9954501 - Disclosure - Income Taxes - Provision for Income Taxes (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesAdditionalInformationDetails" roleURI="http://www.apple.com/role/IncomeTaxesAdditionalInformationDetails">
<link:definition>9954502 - Disclosure - Income Taxes - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesReconciliationofProvisionforIncomeTaxestoAmountComputedbyApplyingtheStatutoryFederalIncomeTaxRatetoIncomeBeforeProvisionforIncomeTaxesDetails" roleURI="http://www.apple.com/role/IncomeTaxesReconciliationofProvisionforIncomeTaxestoAmountComputedbyApplyingtheStatutoryFederalIncomeTaxRatetoIncomeBeforeProvisionforIncomeTaxesDetails">
<link:definition>9954503 - Disclosure - Income Taxes - Reconciliation of Provision for Income Taxes to Amount Computed by Applying the Statutory Federal Income Tax Rate to Income Before Provision for Income Taxes (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" roleURI="http://www.apple.com/role/IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails">
<link:definition>9954504 - Disclosure - Income Taxes - Significant Components of Deferred Tax Assets and Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesAggregateChangesinGrossUnrecognizedTaxBenefitsDetails" roleURI="http://www.apple.com/role/IncomeTaxesAggregateChangesinGrossUnrecognizedTaxBenefitsDetails">
<link:definition>9954505 - Disclosure - Income Taxes - Aggregate Changes in Gross Unrecognized Tax Benefits (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesAdditionalInformationDetails" roleURI="http://www.apple.com/role/LeasesAdditionalInformationDetails">
<link:definition>9954506 - Disclosure - Leases - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesROUAssetsandLeaseLiabilitiesDetails" roleURI="http://www.apple.com/role/LeasesROUAssetsandLeaseLiabilitiesDetails">
<link:definition>9954507 - Disclosure - Leases - ROU Assets and Lease Liabilities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesLeaseLiabilityMaturitiesDetails" roleURI="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails">
<link:definition>9954508 - Disclosure - Leases - Lease Liability Maturities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesLeaseLiabilityMaturitiesDetails_1" roleURI="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails_1">
<link:definition>9954508 - Disclosure - Leases - Lease Liability Maturities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesLeaseLiabilityMaturitiesDetails_2" roleURI="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails_2">
<link:definition>9954508 - Disclosure - Leases - Lease Liability Maturities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtAdditionalInformationDetails" roleURI="http://www.apple.com/role/DebtAdditionalInformationDetails">
<link:definition>9954509 - Disclosure - Debt - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtSummaryofCashFlowsAssociatedwithCommercialPaperDetails" roleURI="http://www.apple.com/role/DebtSummaryofCashFlowsAssociatedwithCommercialPaperDetails">
<link:definition>9954510 - Disclosure - Debt - Summary of Cash Flows Associated with Commercial Paper (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtSummaryofTermDebtDetails" roleURI="http://www.apple.com/role/DebtSummaryofTermDebtDetails">
<link:definition>9954511 - Disclosure - Debt - Summary of Term Debt (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtSummaryofTermDebtDetails_1" roleURI="http://www.apple.com/role/DebtSummaryofTermDebtDetails_1">
<link:definition>9954511 - Disclosure - Debt - Summary of Term Debt (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtFuturePrincipalPaymentsforTermDebtDetails" roleURI="http://www.apple.com/role/DebtFuturePrincipalPaymentsforTermDebtDetails">
<link:definition>9954512 - Disclosure - Debt - Future Principal Payments for Term Debt (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareholdersEquityAdditionalInformationDetails" roleURI="http://www.apple.com/role/ShareholdersEquityAdditionalInformationDetails">
<link:definition>9954513 - Disclosure - Shareholders' Equity - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareholdersEquitySharesofCommonStockDetails" roleURI="http://www.apple.com/role/ShareholdersEquitySharesofCommonStockDetails">
<link:definition>9954514 - Disclosure - Shareholders' Equity - Shares of Common Stock (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareBasedCompensationAdditionalInformationDetails" roleURI="http://www.apple.com/role/ShareBasedCompensationAdditionalInformationDetails">
<link:definition>9954515 - Disclosure - Share-Based Compensation - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareBasedCompensationRestrictedStockUnitActivityandRelatedInformationDetails" roleURI="http://www.apple.com/role/ShareBasedCompensationRestrictedStockUnitActivityandRelatedInformationDetails">
<link:definition>9954516 - Disclosure - Share-Based Compensation - Restricted Stock Unit Activity and Related Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ShareBasedCompensationSummaryofShareBasedCompensationExpenseandtheRelatedIncomeTaxBenefitDetails" roleURI="http://www.apple.com/role/ShareBasedCompensationSummaryofShareBasedCompensationExpenseandtheRelatedIncomeTaxBenefitDetails">
<link:definition>9954517 - Disclosure - Share-Based Compensation - Summary of Share-Based Compensation Expense and the Related Income Tax Benefit (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CommitmentsContingenciesandSupplyConcentrationsFuturePaymentsUnderUnconditionalPurchaseObligationsDetails" roleURI="http://www.apple.com/role/CommitmentsContingenciesandSupplyConcentrationsFuturePaymentsUnderUnconditionalPurchaseObligationsDetails">
<link:definition>9954518 - Disclosure - Commitments, Contingencies and Supply Concentrations - Future Payments Under Unconditional Purchase Obligations (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentInformationandGeographicDataInformationbyReportableSegmentDetails" roleURI="http://www.apple.com/role/SegmentInformationandGeographicDataInformationbyReportableSegmentDetails">
<link:definition>9954519 - Disclosure - Segment Information and Geographic Data - Information by Reportable Segment (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentInformationandGeographicDataReconciliationofSegmentOperatingIncometotheConsolidatedStatementsofOperationsDetails" roleURI="http://www.apple.com/role/SegmentInformationandGeographicDataReconciliationofSegmentOperatingIncometotheConsolidatedStatementsofOperationsDetails">
<link:definition>9954520 - Disclosure - Segment Information and Geographic Data - Reconciliation of Segment Operating Income to the Consolidated Statements of Operations (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentInformationandGeographicDataNetSalesDetails" roleURI="http://www.apple.com/role/SegmentInformationandGeographicDataNetSalesDetails">
<link:definition>9954521 - Disclosure - Segment Information and Geographic Data - Net Sales (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentInformationandGeographicDataLongLivedAssetsDetails" roleURI="http://www.apple.com/role/SegmentInformationandGeographicDataLongLivedAssetsDetails">
<link:definition>9954522 - Disclosure - Segment Information and Geographic Data - Long-Lived Assets (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
</xs:appinfo>
</xs:annotation>
<xs:element id="aapl_CashCashEquivalentsAndMarketableSecuritiesCost" abstract="false" name="CashCashEquivalentsAndMarketableSecuritiesCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour" abstract="false" name="LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_MacMember" abstract="true" name="MacMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossReclassificationAfterTax" abstract="false" name="OtherComprehensiveIncomeLossDerivativeInstrumentGainLossReclassificationAfterTax" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_DeferredTaxAssetsCapitalizedResearchAndDevelopment" abstract="false" name="DeferredTaxAssetsCapitalizedResearchAndDevelopment" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLeaseNotYetCommencedTermOfContract" abstract="false" name="LesseeOperatingAndFinanceLeaseLeaseNotYetCommencedTermOfContract" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="aapl_PerformanceObligationsinArrangements" abstract="false" name="PerformanceObligationsinArrangements" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" abstract="false" name="CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_VendorOneMember" abstract="true" name="VendorOneMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_FinancialInstrumentsLineItems" abstract="true" name="FinancialInstrumentsLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="aapl_JapanSegmentMember" abstract="true" name="JapanSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_FinancialInstrumentsAbstract" abstract="true" name="FinancialInstrumentsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree" abstract="false" name="LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_NumberOfSignificantVendors" abstract="false" name="NumberOfSignificantVendors" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="aapl_MachineryEquipmentandInternalUseSoftwareMember" abstract="true" name="MachineryEquipmentandInternalUseSoftwareMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid" abstract="false" name="LesseeOperatingAndFinanceLeaseLiabilityToBePaid" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_A0.875NotesDue2025Member" abstract="true" name="A0.875NotesDue2025Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_AuditorInformationAbstract" abstract="true" name="AuditorInformationAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="aapl_A3.600NotesDue2042Member" abstract="true" name="A3.600NotesDue2042Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_DeferredTaxLiabilitiesMinimumTaxonForeignEarnings" abstract="false" name="DeferredTaxLiabilitiesMinimumTaxonForeignEarnings" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_DeirdreOBrienMember" abstract="true" name="DeirdreOBrienMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="aapl_GreaterChinaSegmentMember" abstract="true" name="GreaterChinaSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_RestOfAsiaPacificSegmentMember" abstract="true" name="RestOfAsiaPacificSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_CellularNetworkCarriersMember" abstract="true" name="CellularNetworkCarriersMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount" abstract="false" name="LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_StockIssuedDuringPeriodSharesSharebasedPaymentArrangementNetofSharesWithheldforTaxes" abstract="false" name="StockIssuedDuringPeriodSharesSharebasedPaymentArrangementNetofSharesWithheldforTaxes" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne" abstract="false" name="LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_EuropeSegmentMember" abstract="true" name="EuropeSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_A3.050NotesDue2029Member" abstract="true" name="A3.050NotesDue2029Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossbeforeReclassificationafterTax" abstract="false" name="OtherComprehensiveIncomeLossDerivativeInstrumentGainLossbeforeReclassificationafterTax" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_IncomeTaxContingencyNumberOfSubsidiaries" abstract="false" name="IncomeTaxContingencyNumberOfSubsidiaries" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="aapl_HedgeAccountingAdjustmentsRelatedToLongTermDebt" abstract="false" name="HedgeAccountingAdjustmentsRelatedToLongTermDebt" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_RightofUseAssetsObtainedinExchangeforOperatingandFinanceLeaseLiabilities" abstract="false" name="RightofUseAssetsObtainedinExchangeforOperatingandFinanceLeaseLiabilities" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_A1.375NotesDue2024Member" abstract="true" name="A1.375NotesDue2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNumberOfSharesOfCommonStockIssuedPerUnitUponVesting" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNumberOfSharesOfCommonStockIssuedPerUnitUponVesting" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:pureItemType"/>
<xs:element id="aapl_OtherCountriesMember" abstract="true" name="OtherCountriesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_DebtInstrumentMaturityYearRangeStart" abstract="false" name="DebtInstrumentMaturityYearRangeStart" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:gYearItemType"/>
<xs:element id="aapl_UnfavorableInvestigationOutcomeEUStateAidRulesInterestComponentMember" abstract="true" name="UnfavorableInvestigationOutcomeEUStateAidRulesInterestComponentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_A1.375NotesDue2029Member" abstract="true" name="A1.375NotesDue2029Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_UnfavorableInvestigationOutcomeEUStateAidRulesMember" abstract="true" name="UnfavorableInvestigationOutcomeEUStateAidRulesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_DeferredTaxAssetsLeaseLiabilities" abstract="false" name="DeferredTaxAssetsLeaseLiabilities" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_NumberOfCustomersWithSignificantAccountsReceivableBalance" abstract="false" name="NumberOfCustomersWithSignificantAccountsReceivableBalance" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="aapl_WearablesHomeandAccessoriesMember" abstract="true" name="WearablesHomeandAccessoriesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_ThirdQuarter2023DebtIssuanceMember" abstract="true" name="ThirdQuarter2023DebtIssuanceMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="aapl_A1.625NotesDue2026Member" abstract="true" name="A1.625NotesDue2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_JeffWilliamsMember" abstract="true" name="JeffWilliamsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive" abstract="false" name="LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_A20132022DebtIssuancesMember" abstract="true" name="A20132022DebtIssuancesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_OperatingandFinanceLeaseWeightedAverageDiscountRatePercent" abstract="false" name="OperatingandFinanceLeaseWeightedAverageDiscountRatePercent" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="aapl_FinancialInstrumentsTable" abstract="true" name="FinancialInstrumentsTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="aapl_DerivativeAssetsReductionForMasterNettingArrangementsIncludingTheEffectsOfCollateral" abstract="false" name="DerivativeAssetsReductionForMasterNettingArrangementsIncludingTheEffectsOfCollateral" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_LesseeOperatingandFinanceLeaseTermofContract" abstract="false" name="LesseeOperatingandFinanceLeaseTermofContract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="aapl_IPadMember" abstract="true" name="IPadMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_DerivativeLiabilitiesReductionForMasterNettingArrangementsIncludingTheEffectsOfCollateral" abstract="false" name="DerivativeLiabilitiesReductionForMasterNettingArrangementsIncludingTheEffectsOfCollateral" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLeaseNotYetCommencedPaymentsDue" abstract="false" name="LesseeOperatingAndFinanceLeaseLeaseNotYetCommencedPaymentsDue" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_A2.000NotesDue2027Member" abstract="true" name="A2.000NotesDue2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_CashCashEquivalentsAndMarketableSecurities" abstract="false" name="CashCashEquivalentsAndMarketableSecurities" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo" abstract="false" name="LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax" abstract="false" name="OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" abstract="false" name="CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_A0.500Notesdue2031Member" abstract="true" name="A0.500Notesdue2031Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax" abstract="false" name="EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_IPhoneMember" abstract="true" name="IPhoneMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_CustomerOneMember" abstract="true" name="CustomerOneMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_EmployeeStockPlan2022PlanMember" abstract="true" name="EmployeeStockPlan2022PlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_FixedRateNotesMember" abstract="true" name="FixedRateNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_NonTradeReceivableMember" abstract="true" name="NonTradeReceivableMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_AmericasSegmentMember" abstract="true" name="AmericasSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive" abstract="false" name="LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_CommercialPaperCashFlowSummaryTableTextBlock" abstract="false" name="CommercialPaperCashFlowSummaryTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="aapl_OperatingandFinanceLeaseRightofUseAssetsandLeaseLiabilitiesTableTextBlock" abstract="false" name="OperatingandFinanceLeaseRightofUseAssetsandLeaseLiabilitiesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="aapl_VendorTwoMember" abstract="true" name="VendorTwoMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="aapl_DebtInstrumentMaturityYearRangeEnd" abstract="false" name="DebtInstrumentMaturityYearRangeEnd" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:gYearItemType"/>
<xs:element id="aapl_OperatingandFinanceLeaseLiability" abstract="false" name="OperatingandFinanceLeaseLiability" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_LesseeOperatingandFinanceLeaseLiabilityPaymentDueAbstract" abstract="true" name="LesseeOperatingandFinanceLeaseLiabilityPaymentDueAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="aapl_OperatingandFinanceLeaseRightofUseAsset" abstract="false" name="OperatingandFinanceLeaseRightofUseAsset" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax" abstract="false" name="EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="aapl_OperatingandFinanceLeaseWeightedAverageRemainingLeaseTerm" abstract="false" name="OperatingandFinanceLeaseWeightedAverageRemainingLeaseTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="aapl_A0.000Notesdue2025Member" abstract="true" name="A0.000Notesdue2025Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
</xs:schema>

View File

@@ -0,0 +1,582 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:c68c2fd8-345e-4faa-8610-8b173d5da094,g:843081e3-ad04-4f75-a78c-e87ea3423788-->
<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:roleRef roleURI="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="aapl-20230930.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
<link:calculationLink xlink:role="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_75740e4d-9f07-496e-a78a-9dfb8b48a1a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_ab3a8d18-6cf1-4158-8076-346e71bebdd4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossProfit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_75740e4d-9f07-496e-a78a-9dfb8b48a1a7" xlink:to="loc_us-gaap_GrossProfit_ab3a8d18-6cf1-4158-8076-346e71bebdd4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_da978fa6-d6fc-4e7f-a55b-63a870dfef81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_75740e4d-9f07-496e-a78a-9dfb8b48a1a7" xlink:to="loc_us-gaap_OperatingExpenses_da978fa6-d6fc-4e7f-a55b-63a870dfef81" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_8a26850b-fe5b-4762-81c6-cae98fe108c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_0dceacb5-d9be-46d6-a252-0e4300cc3b98" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8a26850b-fe5b-4762-81c6-cae98fe108c9" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_0dceacb5-d9be-46d6-a252-0e4300cc3b98" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_80efb3d5-85f6-4bb2-9e4e-ac3f9514c7fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8a26850b-fe5b-4762-81c6-cae98fe108c9" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_80efb3d5-85f6-4bb2-9e4e-ac3f9514c7fe" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_dbb39eff-4382-4423-9ad1-7d598dbe8c67" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_587aaa55-c268-47e7-9d2c-c90ff6df376e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_dbb39eff-4382-4423-9ad1-7d598dbe8c67" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_587aaa55-c268-47e7-9d2c-c90ff6df376e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_8717cf03-6dac-4d1e-8bad-574c1cd6d76e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_dbb39eff-4382-4423-9ad1-7d598dbe8c67" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_8717cf03-6dac-4d1e-8bad-574c1cd6d76e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_56fac574-fb85-4d5d-8933-da2a95a93712" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossProfit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b8483ed6-97e9-4212-b0e8-262172820ec5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_56fac574-fb85-4d5d-8933-da2a95a93712" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b8483ed6-97e9-4212-b0e8-262172820ec5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_afe8ddc7-18ed-47fc-89a2-7e61cf37294b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_56fac574-fb85-4d5d-8933-da2a95a93712" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_afe8ddc7-18ed-47fc-89a2-7e61cf37294b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ca3cea15-bfdc-4a46-994a-a978c7c3efa6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_a8e091a4-00d9-4319-9b97-a47ed06fc98d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ca3cea15-bfdc-4a46-994a-a978c7c3efa6" xlink:to="loc_us-gaap_OperatingIncomeLoss_a8e091a4-00d9-4319-9b97-a47ed06fc98d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_bbad085b-d6dd-4208-baee-9643ae427034" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ca3cea15-bfdc-4a46-994a-a978c7c3efa6" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_bbad085b-d6dd-4208-baee-9643ae427034" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="aapl-20230930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
<link:calculationLink xlink:role="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4efa8fa4-bb01-4a08-9239-af23e1069dc0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_cef263c1-4f77-476e-bb55-1893fe1c85df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4efa8fa4-bb01-4a08-9239-af23e1069dc0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_cef263c1-4f77-476e-bb55-1893fe1c85df" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax_d8d73bee-4b8a-4c6b-b5a7-33e5d0f71bab" xlink:href="aapl-20230930.xsd#aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4efa8fa4-bb01-4a08-9239-af23e1069dc0" xlink:to="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax_d8d73bee-4b8a-4c6b-b5a7-33e5d0f71bab" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_e24d27f0-605e-4bae-a475-8b0a0fbe719a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4efa8fa4-bb01-4a08-9239-af23e1069dc0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_e24d27f0-605e-4bae-a475-8b0a0fbe719a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax_157cf4e2-8baf-4a58-9c99-35d01672210a" xlink:href="aapl-20230930.xsd#aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossbeforeReclassificationafterTax_8ab721d4-f2f6-404c-9d54-a0927ace35ee" xlink:href="aapl-20230930.xsd#aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossbeforeReclassificationafterTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax_157cf4e2-8baf-4a58-9c99-35d01672210a" xlink:to="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossbeforeReclassificationafterTax_8ab721d4-f2f6-404c-9d54-a0927ace35ee" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossReclassificationAfterTax_5de9b4df-9e12-4044-b6c6-4da64724486f" xlink:href="aapl-20230930.xsd#aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossReclassificationAfterTax"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossafterReclassificationandTax_157cf4e2-8baf-4a58-9c99-35d01672210a" xlink:to="loc_aapl_OtherComprehensiveIncomeLossDerivativeInstrumentGainLossReclassificationAfterTax_5de9b4df-9e12-4044-b6c6-4da64724486f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_aceacff9-f482-4749-b8b1-a5622c0d2994" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7bd13984-326e-4f4d-9ef0-966dcf89b283" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_aceacff9-f482-4749-b8b1-a5622c0d2994" xlink:to="loc_us-gaap_NetIncomeLoss_7bd13984-326e-4f4d-9ef0-966dcf89b283" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3f414cab-74c1-437e-927f-261e2bc7f5bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_aceacff9-f482-4749-b8b1-a5622c0d2994" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3f414cab-74c1-437e-927f-261e2bc7f5bb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_dba8561f-f8bb-4838-aac8-aeffb3a0d009" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_3cc040fa-a77f-4401-a204-e7e0f225c515" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_dba8561f-f8bb-4838-aac8-aeffb3a0d009" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_3cc040fa-a77f-4401-a204-e7e0f225c515" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_03376b38-70c4-4403-9338-1b158b99b92e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_dba8561f-f8bb-4838-aac8-aeffb3a0d009" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_03376b38-70c4-4403-9338-1b158b99b92e" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="aapl-20230930.xsd#CONSOLIDATEDBALANCESHEETS"/>
<link:calculationLink xlink:role="http://www.apple.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_516cd2de-8755-4422-a060-7fb561f8aaf4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_9e79e0c3-adeb-4fe8-aef7-1d7449751a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_516cd2de-8755-4422-a060-7fb561f8aaf4" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_9e79e0c3-adeb-4fe8-aef7-1d7449751a9c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_7be24fb5-e8f0-4168-98cf-fe225cb91778" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_516cd2de-8755-4422-a060-7fb561f8aaf4" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_7be24fb5-e8f0-4168-98cf-fe225cb91778" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f4da6fbc-3432-4af8-8c6d-e3ac5e106da1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_af6536ff-696d-4be3-b043-cd0f83dbf4da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f4da6fbc-3432-4af8-8c6d-e3ac5e106da1" xlink:to="loc_us-gaap_LiabilitiesCurrent_af6536ff-696d-4be3-b043-cd0f83dbf4da" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_f4031f03-1950-4e7c-8329-944028f4fc00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f4da6fbc-3432-4af8-8c6d-e3ac5e106da1" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_f4031f03-1950-4e7c-8329-944028f4fc00" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_25bd403d-4c0a-41f7-a5c5-a858650013b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsNoncurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_574b0a76-47b8-41b6-9245-af7be8619575" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_25bd403d-4c0a-41f7-a5c5-a858650013b5" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_574b0a76-47b8-41b6-9245-af7be8619575" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_10bc6e4b-777a-4eea-b6d5-842491ed98ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_25bd403d-4c0a-41f7-a5c5-a858650013b5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_10bc6e4b-777a-4eea-b6d5-842491ed98ca" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_5b7210c4-34bc-49c4-866c-94e2decd841f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_25bd403d-4c0a-41f7-a5c5-a858650013b5" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_5b7210c4-34bc-49c4-866c-94e2decd841f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_9fe36ada-ec32-4863-b50b-161878bf61c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_85902027-c293-4338-bfc5-ebef876e69c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9fe36ada-ec32-4863-b50b-161878bf61c5" xlink:to="loc_us-gaap_AccountsPayableCurrent_85902027-c293-4338-bfc5-ebef876e69c0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_f8934367-4275-4032-a5ef-314324988624" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9fe36ada-ec32-4863-b50b-161878bf61c5" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_f8934367-4275-4032-a5ef-314324988624" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1a9a0865-a682-4b08-972a-029d28ab1d47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9fe36ada-ec32-4863-b50b-161878bf61c5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1a9a0865-a682-4b08-972a-029d28ab1d47" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPaper_afb54122-0d54-40f3-b7f7-3f08f72a85a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommercialPaper"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9fe36ada-ec32-4863-b50b-161878bf61c5" xlink:to="loc_us-gaap_CommercialPaper_afb54122-0d54-40f3-b7f7-3f08f72a85a3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_93632b5f-cd20-49b3-ab46-f95b9ed973df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9fe36ada-ec32-4863-b50b-161878bf61c5" xlink:to="loc_us-gaap_LongTermDebtCurrent_93632b5f-cd20-49b3-ab46-f95b9ed973df" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_bbaf7a48-c164-4b81-91c5-47c8182d6dce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_bfd4b702-0901-46c7-b58c-2850f1305995" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_bbaf7a48-c164-4b81-91c5-47c8182d6dce" xlink:to="loc_us-gaap_Liabilities_bfd4b702-0901-46c7-b58c-2850f1305995" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_148059f5-1836-47db-b703-4257d3d8c538" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_bbaf7a48-c164-4b81-91c5-47c8182d6dce" xlink:to="loc_us-gaap_CommitmentsAndContingencies_148059f5-1836-47db-b703-4257d3d8c538" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d3539067-8974-42c4-bc6a-ed7bcdc97aad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_bbaf7a48-c164-4b81-91c5-47c8182d6dce" xlink:to="loc_us-gaap_StockholdersEquity_d3539067-8974-42c4-bc6a-ed7bcdc97aad" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c81b4d10-7b59-4833-9dcb-e6cf52928a94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_90ceb322-7a84-409b-b17f-07d18398673e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c81b4d10-7b59-4833-9dcb-e6cf52928a94" xlink:to="loc_us-gaap_AssetsCurrent_90ceb322-7a84-409b-b17f-07d18398673e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_10bcdaf2-cecf-4b3a-977d-d0330b3cede3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c81b4d10-7b59-4833-9dcb-e6cf52928a94" xlink:to="loc_us-gaap_AssetsNoncurrent_10bcdaf2-cecf-4b3a-977d-d0330b3cede3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e51d275c-051e-4ecf-8e77-c6f42e86f95c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_2ba22fc6-1c4a-4006-a01e-45b1d2451fa0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStocksIncludingAdditionalPaidInCapital"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e51d275c-051e-4ecf-8e77-c6f42e86f95c" xlink:to="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_2ba22fc6-1c4a-4006-a01e-45b1d2451fa0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a91525cf-9059-4512-b52b-d3b4d546146e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e51d275c-051e-4ecf-8e77-c6f42e86f95c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a91525cf-9059-4512-b52b-d3b4d546146e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7299484f-a6b7-4ec0-9a95-38dd852ebf78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e51d275c-051e-4ecf-8e77-c6f42e86f95c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7299484f-a6b7-4ec0-9a95-38dd852ebf78" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_3595d71a-fe01-446e-bb51-0a6c14484a0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d6c52a83-7270-4cb9-818c-864f3b9fa902" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_3595d71a-fe01-446e-bb51-0a6c14484a0e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d6c52a83-7270-4cb9-818c-864f3b9fa902" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_c8896715-1411-426d-a942-adb8d5b97270" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_3595d71a-fe01-446e-bb51-0a6c14484a0e" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_c8896715-1411-426d-a942-adb8d5b97270" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_07b90917-7115-4ac3-83c6-fe636783f080" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_3595d71a-fe01-446e-bb51-0a6c14484a0e" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_07b90917-7115-4ac3-83c6-fe636783f080" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NontradeReceivablesCurrent_68427316-04fa-4cc2-bc8b-776b7547271e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NontradeReceivablesCurrent"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_3595d71a-fe01-446e-bb51-0a6c14484a0e" xlink:to="loc_us-gaap_NontradeReceivablesCurrent_68427316-04fa-4cc2-bc8b-776b7547271e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_5da10174-31f3-4ad6-98fb-bb596be84385" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_3595d71a-fe01-446e-bb51-0a6c14484a0e" xlink:to="loc_us-gaap_InventoryNet_5da10174-31f3-4ad6-98fb-bb596be84385" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_5de4a5d3-1d9c-4120-909b-cf53de971a63" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsCurrent"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_3595d71a-fe01-446e-bb51-0a6c14484a0e" xlink:to="loc_us-gaap_OtherAssetsCurrent_5de4a5d3-1d9c-4120-909b-cf53de971a63" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="aapl-20230930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
<link:calculationLink xlink:role="http://www.apple.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_09a6f876-3aba-457d-903c-1159a4043aac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_09a6f876-3aba-457d-903c-1159a4043aac" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_0d414598-04bd-44c8-b7de-b896a206e74e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:to="loc_us-gaap_PaymentsOfDividends_0d414598-04bd-44c8-b7de-b896a206e74e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b86fe7b0-2898-4cf8-b277-30871a992518" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b86fe7b0-2898-4cf8-b277-30871a992518" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_2551d7b9-c1ba-412f-80ee-fd96900b97cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_2551d7b9-c1ba-412f-80ee-fd96900b97cf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_6d59ba39-6fad-4150-8674-5d1dbaae295c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_6d59ba39-6fad-4150-8674-5d1dbaae295c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_f3cbeabf-115d-4427-8342-e72bac4cd48f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromRepaymentsOfCommercialPaper"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_f3cbeabf-115d-4427-8342-e72bac4cd48f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_5e6d18d8-7abe-43bc-b890-9529343181bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5950ca8-2ce0-4889-80a5-aabd8b59afda" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_5e6d18d8-7abe-43bc-b890-9529343181bb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c9ae20be-7dd9-4199-924e-db21839b83c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e3e31f02-5ee0-4f41-b98b-f17f236a14bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c9ae20be-7dd9-4199-924e-db21839b83c5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e3e31f02-5ee0-4f41-b98b-f17f236a14bb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6ad8f2b3-0dd9-4f42-b233-0e818500ef78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c9ae20be-7dd9-4199-924e-db21839b83c5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6ad8f2b3-0dd9-4f42-b233-0e818500ef78" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e271f852-4d81-4e48-b2c6-4790de96f3c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c9ae20be-7dd9-4199-924e-db21839b83c5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e271f852-4d81-4e48-b2c6-4790de96f3c7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3ed15786-735f-4154-aaf0-626b7885edaa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_NetIncomeLoss_3ed15786-735f-4154-aaf0-626b7885edaa" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_c6747b0f-b686-46b1-9000-140878be9eab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_c6747b0f-b686-46b1-9000-140878be9eab" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_fbf5c39b-c70d-4fef-982b-21ef2ad06c33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_ShareBasedCompensation_fbf5c39b-c70d-4fef-982b-21ef2ad06c33" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_894a1bda-1bd6-494d-9121-3a274b99054c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoncashIncomeExpense"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_894a1bda-1bd6-494d-9121-3a274b99054c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_63559dd6-dbe0-4b8a-ba24-5b8b524dcd2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_63559dd6-dbe0-4b8a-ba24-5b8b524dcd2b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherReceivables_808855e7-5ba9-4bc7-9a3b-f6ea9f09ad9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherReceivables"/>
<link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherReceivables_808855e7-5ba9-4bc7-9a3b-f6ea9f09ad9f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_a7d4ee4f-3fcc-4b3d-ace7-b18dc76cdd99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/>
<link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_a7d4ee4f-3fcc-4b3d-ace7-b18dc76cdd99" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_afd4ee46-cf79-4a4b-98d2-78f25836eb65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
<link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_afd4ee46-cf79-4a4b-98d2-78f25836eb65" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_5f012ae2-078b-40b8-893b-095e6d0819ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
<link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_5f012ae2-078b-40b8-893b-095e6d0819ed" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_37ae8f36-f0c7-4397-a97d-83844da13828" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
<link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d6cf9fc-ebbe-490e-98f9-f75ca8dfaceb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_37ae8f36-f0c7-4397-a97d-83844da13828" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3d937592-aa22-4b66-9084-42867c2dffda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_babd12b4-850d-4bb3-8420-9d7fd30991a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3d937592-aa22-4b66-9084-42867c2dffda" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_babd12b4-850d-4bb3-8420-9d7fd30991a0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_a1e9d607-315f-4dd8-946f-e5643e7cdd26" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3d937592-aa22-4b66-9084-42867c2dffda" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_a1e9d607-315f-4dd8-946f-e5643e7cdd26" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_759e6125-1709-427a-bb15-6c7066c82cdf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3d937592-aa22-4b66-9084-42867c2dffda" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_759e6125-1709-427a-bb15-6c7066c82cdf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_26022cab-b8a6-4970-9ccc-9ea33555d6a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3d937592-aa22-4b66-9084-42867c2dffda" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_26022cab-b8a6-4970-9ccc-9ea33555d6a7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_983b536e-3d68-4218-9b0e-97ea03d532a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3d937592-aa22-4b66-9084-42867c2dffda" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_983b536e-3d68-4218-9b0e-97ea03d532a6" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/EarningsPerShareComputationofBasicandDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#EarningsPerShareComputationofBasicandDilutedEarningsPerShareDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/EarningsPerShareComputationofBasicandDilutedEarningsPerShareDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_71b79955-709b-44db-8166-629789fd038e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_06ea34ed-bf4e-4205-a01e-b9f018a4506a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_71b79955-709b-44db-8166-629789fd038e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_06ea34ed-bf4e-4205-a01e-b9f018a4506a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_f09bf90b-7c38-45f4-b3b3-4ba21c8f59af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_71b79955-709b-44db-8166-629789fd038e" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_f09bf90b-7c38-45f4-b3b3-4ba21c8f59af" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7afb6a78-8996-485c-a331-5d1ddf48ba5d" xlink:href="aapl-20230930.xsd#aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax_481a0bc5-4e0b-4d40-bda1-727f8d3caae7" xlink:href="aapl-20230930.xsd#aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7afb6a78-8996-485c-a331-5d1ddf48ba5d" xlink:to="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax_481a0bc5-4e0b-4d40-bda1-727f8d3caae7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_ea329b46-7466-415c-9fd3-f59f447dfc2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7afb6a78-8996-485c-a331-5d1ddf48ba5d" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_ea329b46-7466-415c-9fd3-f59f447dfc2c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashCashEquivalentsAndMarketableSecurities_bca6ccb5-2eff-4509-9837-2e542e523594" xlink:href="aapl-20230930.xsd#aapl_CashCashEquivalentsAndMarketableSecurities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_752ead7a-e794-4199-9226-89d728ca5a2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Cash"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecurities_bca6ccb5-2eff-4509-9837-2e542e523594" xlink:to="loc_us-gaap_Cash_752ead7a-e794-4199-9226-89d728ca5a2a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_59f78d04-950c-4b60-8403-21e0a4e3c921" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecurities_bca6ccb5-2eff-4509-9837-2e542e523594" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_59f78d04-950c-4b60-8403-21e0a4e3c921" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d3ca5d64-8af7-44cc-865d-6d4baed55ec9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecurities_bca6ccb5-2eff-4509-9837-2e542e523594" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d3ca5d64-8af7-44cc-865d-6d4baed55ec9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4dc324cf-ee8a-4a82-bea6-f52a57d3df87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3755cc5b-6140-46ee-8a5e-11fc85e8f432" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4dc324cf-ee8a-4a82-bea6-f52a57d3df87" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3755cc5b-6140-46ee-8a5e-11fc85e8f432" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_b01ff147-68fc-4e5c-8191-efb82bcbdb24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4dc324cf-ee8a-4a82-bea6-f52a57d3df87" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_b01ff147-68fc-4e5c-8191-efb82bcbdb24" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_910bf0dc-4a8c-49fc-af6d-4f7e989494a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4dc324cf-ee8a-4a82-bea6-f52a57d3df87" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_910bf0dc-4a8c-49fc-af6d-4f7e989494a2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_a1c1f047-677b-44a5-98f1-b08da983fe43" xlink:href="aapl-20230930.xsd#aapl_CashCashEquivalentsAndMarketableSecuritiesCost"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_cbc57f78-6616-48d3-95cd-cb8b1838f167" xlink:href="aapl-20230930.xsd#aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_a1c1f047-677b-44a5-98f1-b08da983fe43" xlink:to="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_cbc57f78-6616-48d3-95cd-cb8b1838f167" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_891c8b4f-e309-4550-ab98-94e92585592e" xlink:href="aapl-20230930.xsd#aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_a1c1f047-677b-44a5-98f1-b08da983fe43" xlink:to="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_891c8b4f-e309-4550-ab98-94e92585592e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashCashEquivalentsAndMarketableSecurities_3c8225b4-482d-472b-a495-26862e534f08" xlink:href="aapl-20230930.xsd#aapl_CashCashEquivalentsAndMarketableSecurities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_a1c1f047-677b-44a5-98f1-b08da983fe43" xlink:to="loc_aapl_CashCashEquivalentsAndMarketableSecurities_3c8225b4-482d-472b-a495-26862e534f08" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_2c3a12a7-f473-44d8-8e33-9f6423987988" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_61fe1b20-39b6-42a4-92fc-a0c6379bf570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_2c3a12a7-f473-44d8-8e33-9f6423987988" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_61fe1b20-39b6-42a4-92fc-a0c6379bf570" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_8e97b385-36f4-41f6-b207-a76b23ae80fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_2c3a12a7-f473-44d8-8e33-9f6423987988" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_8e97b385-36f4-41f6-b207-a76b23ae80fd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_77248d26-f99b-4ecd-b5b2-82f7b808aa6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_2c3a12a7-f473-44d8-8e33-9f6423987988" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_77248d26-f99b-4ecd-b5b2-82f7b808aa6b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_600ea572-d11a-4a7f-ba5a-1d6169c867d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f2b544c6-db35-49f7-838f-b05a27a8f439" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_600ea572-d11a-4a7f-ba5a-1d6169c867d4" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f2b544c6-db35-49f7-838f-b05a27a8f439" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_f4f91ea8-e490-464f-9e36-a6f89d1501a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_600ea572-d11a-4a7f-ba5a-1d6169c867d4" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_f4f91ea8-e490-464f-9e36-a6f89d1501a5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_484f0f08-b8ae-49b4-badc-a485d090c22f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_600ea572-d11a-4a7f-ba5a-1d6169c867d4" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_484f0f08-b8ae-49b4-badc-a485d090c22f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5b30cf9d-f22c-4f6e-83d6-100e0de1066a" xlink:href="aapl-20230930.xsd#aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax_c8da27c4-ed76-4079-975b-0144d76dc530" xlink:href="aapl-20230930.xsd#aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5b30cf9d-f22c-4f6e-83d6-100e0de1066a" xlink:to="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax_c8da27c4-ed76-4079-975b-0144d76dc530" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_eafffc79-cb4a-4d2d-a141-d3b8dc0c23ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashEquivalentsAndMarketableSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5b30cf9d-f22c-4f6e-83d6-100e0de1066a" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_eafffc79-cb4a-4d2d-a141-d3b8dc0c23ed" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_040f872b-1890-45c9-b39a-535d4ee5cc68" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax_9be64139-8266-429e-8632-c9b4c493da05" xlink:href="aapl-20230930.xsd#aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCost_040f872b-1890-45c9-b39a-535d4ee5cc68" xlink:to="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax_9be64139-8266-429e-8632-c9b4c493da05" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax_2c4f94aa-a318-4f03-a3bf-6d310300e2f7" xlink:href="aapl-20230930.xsd#aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCost_040f872b-1890-45c9-b39a-535d4ee5cc68" xlink:to="loc_aapl_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax_2c4f94aa-a318-4f03-a3bf-6d310300e2f7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_0bce664c-74cb-453a-a01a-0fc149f545c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCost_040f872b-1890-45c9-b39a-535d4ee5cc68" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_0bce664c-74cb-453a-a01a-0fc149f545c6" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails_1" xlink:type="simple" xlink:href="aapl-20230930.xsd#FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails_1"/>
<link:calculationLink xlink:role="http://www.apple.com/role/FinancialInstrumentsCashCashEquivalentsandMarketableSecuritiesDetails_1" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashCashEquivalentsAndMarketableSecurities_192bfb46-fc87-48bf-baf7-c6fad5f62cc8" xlink:href="aapl-20230930.xsd#aapl_CashCashEquivalentsAndMarketableSecurities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_75600819-a5b1-4ed7-bdd3-46755e8206cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecurities_192bfb46-fc87-48bf-baf7-c6fad5f62cc8" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_75600819-a5b1-4ed7-bdd3-46755e8206cd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_801668c8-5023-49de-8d17-24d4ae178174" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecurities_192bfb46-fc87-48bf-baf7-c6fad5f62cc8" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_801668c8-5023-49de-8d17-24d4ae178174" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_a81c540b-bea2-41be-b832-8540375a811c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecurities_192bfb46-fc87-48bf-baf7-c6fad5f62cc8" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_a81c540b-bea2-41be-b832-8540375a811c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_d6e587d6-123c-493d-88ba-6107e83f27cb" xlink:href="aapl-20230930.xsd#aapl_CashCashEquivalentsAndMarketableSecuritiesCost"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_ac1a080b-776e-4845-abc0-59ba01022f17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Cash"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_d6e587d6-123c-493d-88ba-6107e83f27cb" xlink:to="loc_us-gaap_Cash_ac1a080b-776e-4845-abc0-59ba01022f17" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_db011099-1670-4cb1-8c30-9796ac209c72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_d6e587d6-123c-493d-88ba-6107e83f27cb" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCost_db011099-1670-4cb1-8c30-9796ac209c72" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4018abee-ad13-45f1-a2f3-e346e4391286" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_CashCashEquivalentsAndMarketableSecuritiesCost_d6e587d6-123c-493d-88ba-6107e83f27cb" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4018abee-ad13-45f1-a2f3-e346e4391286" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/FinancialInstrumentsNonCurrentMarketableDebtSecuritiesbyContractualMaturityDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#FinancialInstrumentsNonCurrentMarketableDebtSecuritiesbyContractualMaturityDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/FinancialInstrumentsNonCurrentMarketableDebtSecuritiesbyContractualMaturityDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_fd1fbdee-d164-481b-8e4e-b7137e90be9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_1f48e6bb-e19d-42a8-98fd-51ec01684ba0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_fd1fbdee-d164-481b-8e4e-b7137e90be9e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_1f48e6bb-e19d-42a8-98fd-51ec01684ba0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_3ecaa1c3-5e94-4dac-8323-d151caeb9258" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_fd1fbdee-d164-481b-8e4e-b7137e90be9e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_3ecaa1c3-5e94-4dac-8323-d151caeb9258" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_8515ce66-d1a8-413e-b332-57c7514f1e86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_fd1fbdee-d164-481b-8e4e-b7137e90be9e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_8515ce66-d1a8-413e-b332-57c7514f1e86" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/PropertyPlantandEquipmentGrossPropertyPlantandEquipmentbyMajorAssetClassandAccumulatedDepreciationDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#PropertyPlantandEquipmentGrossPropertyPlantandEquipmentbyMajorAssetClassandAccumulatedDepreciationDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/PropertyPlantandEquipmentGrossPropertyPlantandEquipmentbyMajorAssetClassandAccumulatedDepreciationDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_574e45c5-4325-4fea-bccf-0b2e6c6bd20a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_4e30eaaa-814e-4572-a1cc-c4f049650be6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_574e45c5-4325-4fea-bccf-0b2e6c6bd20a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_4e30eaaa-814e-4572-a1cc-c4f049650be6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_133231f1-3b3c-4225-b0f1-7b513e5b7f37" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_574e45c5-4325-4fea-bccf-0b2e6c6bd20a" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_133231f1-3b3c-4225-b0f1-7b513e5b7f37" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherNonCurrentAssetsDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#ConsolidatedFinancialStatementDetailsOtherNonCurrentAssetsDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherNonCurrentAssetsDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_31038464-cc58-453f-a9da-5d48da954bb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_7dbfaa6a-0288-4681-8b7d-0b7a5c583c91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_31038464-cc58-453f-a9da-5d48da954bb3" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_7dbfaa6a-0288-4681-8b7d-0b7a5c583c91" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_483a8d55-6022-421e-8fe6-a9e7a9a459e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_31038464-cc58-453f-a9da-5d48da954bb3" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_483a8d55-6022-421e-8fe6-a9e7a9a459e7" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#ConsolidatedFinancialStatementDetailsOtherCurrentLiabilitiesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherCurrentLiabilitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_af022c68-ca57-4deb-82d8-ab6aaf75d850" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesCurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_de67d7a5-1b36-4d30-8356-ae6dc49c8b96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_af022c68-ca57-4deb-82d8-ab6aaf75d850" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_de67d7a5-1b36-4d30-8356-ae6dc49c8b96" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_60d47c87-a41a-470d-9766-f537fa42e93d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_af022c68-ca57-4deb-82d8-ab6aaf75d850" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_60d47c87-a41a-470d-9766-f537fa42e93d" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherNonCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#ConsolidatedFinancialStatementDetailsOtherNonCurrentLiabilitiesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherNonCurrentLiabilitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_342955b7-f4f9-42a3-8c56-7ace56993bf6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_1b1677c5-f583-4f66-84d0-622af0196cf9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_342955b7-f4f9-42a3-8c56-7ace56993bf6" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_1b1677c5-f583-4f66-84d0-622af0196cf9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_70d64ba5-26e4-4295-ad65-46955f8a7fb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_342955b7-f4f9-42a3-8c56-7ace56993bf6" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_70d64ba5-26e4-4295-ad65-46955f8a7fb9" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherIncomeExpenseNetDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#ConsolidatedFinancialStatementDetailsOtherIncomeExpenseNetDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/ConsolidatedFinancialStatementDetailsOtherIncomeExpenseNetDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_4d420bb8-cad1-4105-9cfb-a1f8e3330d76" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterestAndDividend_65f3f7dc-81f7-4a5b-b55b-5ccc4335faee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInterestAndDividend"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_4d420bb8-cad1-4105-9cfb-a1f8e3330d76" xlink:to="loc_us-gaap_InvestmentIncomeInterestAndDividend_65f3f7dc-81f7-4a5b-b55b-5ccc4335faee" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_041e5705-f2d6-46fb-9250-7d7c28991daf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_4d420bb8-cad1-4105-9cfb-a1f8e3330d76" xlink:to="loc_us-gaap_InterestExpense_041e5705-f2d6-46fb-9250-7d7c28991daf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_9c197160-42b0-425a-bb75-73fc1b495cde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_4d420bb8-cad1-4105-9cfb-a1f8e3330d76" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_9c197160-42b0-425a-bb75-73fc1b495cde" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#IncomeTaxesProvisionforIncomeTaxesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_503ea931-3531-4916-970a-71ff231120ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_662d25db-fe78-447a-b6e3-784808a64cd0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_503ea931-3531-4916-970a-71ff231120ca" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_662d25db-fe78-447a-b6e3-784808a64cd0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_bb7fc3a6-671c-450e-980a-2d2307fefd97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_503ea931-3531-4916-970a-71ff231120ca" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_bb7fc3a6-671c-450e-980a-2d2307fefd97" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_cad42962-265a-42b5-b990-cf74556d7d9a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_da34e0ef-60b5-4693-86b4-74785f172048" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_cad42962-265a-42b5-b990-cf74556d7d9a" xlink:to="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_da34e0ef-60b5-4693-86b4-74785f172048" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_c98831a9-40b6-424b-87d0-39103932b82d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_cad42962-265a-42b5-b990-cf74556d7d9a" xlink:to="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_c98831a9-40b6-424b-87d0-39103932b82d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_fdba49d4-87e3-490b-bd63-148971dbcf0f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_cad42962-265a-42b5-b990-cf74556d7d9a" xlink:to="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_fdba49d4-87e3-490b-bd63-148971dbcf0f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_e995b77e-7f27-4da7-a40f-48f13ec871c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b2d6cd7f-c7d8-4130-b55f-9c8dfba7a8fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_e995b77e-7f27-4da7-a40f-48f13ec871c5" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b2d6cd7f-c7d8-4130-b55f-9c8dfba7a8fc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_07f7033f-e999-4ccc-a1bb-07552f1ed5e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_e995b77e-7f27-4da7-a40f-48f13ec871c5" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_07f7033f-e999-4ccc-a1bb-07552f1ed5e6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_7ba76e57-9562-4ffe-ba21-47fd6895fa2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_730740b8-bfaf-4780-9629-36c7fbcb1d60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_7ba76e57-9562-4ffe-ba21-47fd6895fa2e" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_730740b8-bfaf-4780-9629-36c7fbcb1d60" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_4cfa349a-9a57-401f-8b8c-b4e74933788b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_7ba76e57-9562-4ffe-ba21-47fd6895fa2e" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_4cfa349a-9a57-401f-8b8c-b4e74933788b" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/IncomeTaxesReconciliationofProvisionforIncomeTaxestoAmountComputedbyApplyingtheStatutoryFederalIncomeTaxRatetoIncomeBeforeProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#IncomeTaxesReconciliationofProvisionforIncomeTaxestoAmountComputedbyApplyingtheStatutoryFederalIncomeTaxRatetoIncomeBeforeProvisionforIncomeTaxesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/IncomeTaxesReconciliationofProvisionforIncomeTaxestoAmountComputedbyApplyingtheStatutoryFederalIncomeTaxRatetoIncomeBeforeProvisionforIncomeTaxesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_f1ecfd6e-6172-495a-9798-e0a7e00d5daf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_f1ecfd6e-6172-495a-9798-e0a7e00d5daf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_28c470e0-079f-49c4-9a43-ee687a2f614d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_28c470e0-079f-49c4-9a43-ee687a2f614d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_9582a116-ca41-46d9-b337-ee47c340bce4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_9582a116-ca41-46d9-b337-ee47c340bce4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_db1da904-fc86-4d01-a7ab-dcaabf7b9a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_db1da904-fc86-4d01-a7ab-dcaabf7b9a4e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_b10146a4-9ec1-480e-bf98-fcee0be5efba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_b10146a4-9ec1-480e-bf98-fcee0be5efba" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_94e8a3d4-ac3d-4138-ade7-c824db74e738" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_94e8a3d4-ac3d-4138-ade7-c824db74e738" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_e35a98a8-d485-4178-8a57-a66666e17950" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a7e30e89-3bac-4d6b-bef8-814ecc2c43d9" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_e35a98a8-d485-4178-8a57-a66666e17950" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/IncomeTaxesSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_91d87650-d703-4cd5-81de-f6bd1ebbe5ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_a545b2f6-e2f9-4ca1-957d-d843cbdf27e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_91d87650-d703-4cd5-81de-f6bd1ebbe5ee" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_a545b2f6-e2f9-4ca1-957d-d843cbdf27e0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_69168366-45cf-4236-a95e-22f063da0006" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_91d87650-d703-4cd5-81de-f6bd1ebbe5ee" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_69168366-45cf-4236-a95e-22f063da0006" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_70e7b1f5-7744-4ba8-9166-c775a679f593" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_70e7b1f5-7744-4ba8-9166-c775a679f593" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_60cabbc5-d2e5-4355-90ea-a633e927ca06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_60cabbc5-d2e5-4355-90ea-a633e927ca06" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_DeferredTaxAssetsCapitalizedResearchAndDevelopment_855da448-3ddf-45c0-ae41-911967f07f1b" xlink:href="aapl-20230930.xsd#aapl_DeferredTaxAssetsCapitalizedResearchAndDevelopment"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:to="loc_aapl_DeferredTaxAssetsCapitalizedResearchAndDevelopment_855da448-3ddf-45c0-ae41-911967f07f1b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_e9ccb98e-710d-4966-bc44-cc4ec3c8065e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsDeferredIncome"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_e9ccb98e-710d-4966-bc44-cc4ec3c8065e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_DeferredTaxAssetsLeaseLiabilities_db30171a-caa7-45ce-96a0-835089204448" xlink:href="aapl-20230930.xsd#aapl_DeferredTaxAssetsLeaseLiabilities"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:to="loc_aapl_DeferredTaxAssetsLeaseLiabilities_db30171a-caa7-45ce-96a0-835089204448" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOtherComprehensiveLoss_e822b57c-cd6d-4e5e-aa7b-cbd1d10136b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOtherComprehensiveLoss"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:to="loc_us-gaap_DeferredTaxAssetsOtherComprehensiveLoss_e822b57c-cd6d-4e5e-aa7b-cbd1d10136b7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_8480f660-5dba-48cf-9c6b-0f33cc514110" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOther"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_7af86bd9-018a-4d4e-bf21-85a65e4a91ee" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_8480f660-5dba-48cf-9c6b-0f33cc514110" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_81cfaa0d-4fa5-46f7-8579-0d2785a368a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_5c29eda2-abc9-49f4-8c3a-1e551d8b0023" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_81cfaa0d-4fa5-46f7-8579-0d2785a368a3" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_5c29eda2-abc9-49f4-8c3a-1e551d8b0023" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_716cea02-2646-42f6-845d-9e85249442ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_81cfaa0d-4fa5-46f7-8579-0d2785a368a3" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_716cea02-2646-42f6-845d-9e85249442ef" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_ec26f732-e92f-455c-8246-e4f14cc586b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_bf31b2d3-869b-4125-8157-5a156370b275" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ec26f732-e92f-455c-8246-e4f14cc586b0" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_bf31b2d3-869b-4125-8157-5a156370b275" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b815b9e1-1ccc-4eec-a71a-6881b7269757" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ec26f732-e92f-455c-8246-e4f14cc586b0" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b815b9e1-1ccc-4eec-a71a-6881b7269757" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_DeferredTaxLiabilitiesMinimumTaxonForeignEarnings_fa109bc6-f540-49ee-a706-0421f5066bf5" xlink:href="aapl-20230930.xsd#aapl_DeferredTaxLiabilitiesMinimumTaxonForeignEarnings"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ec26f732-e92f-455c-8246-e4f14cc586b0" xlink:to="loc_aapl_DeferredTaxLiabilitiesMinimumTaxonForeignEarnings_fa109bc6-f540-49ee-a706-0421f5066bf5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_cf4f915a-74c2-4a9d-87c6-0f8bc2e1d2d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ec26f732-e92f-455c-8246-e4f14cc586b0" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_cf4f915a-74c2-4a9d-87c6-0f8bc2e1d2d8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_478e57b9-ced0-44a0-af33-c893364a5df5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ec26f732-e92f-455c-8246-e4f14cc586b0" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_478e57b9-ced0-44a0-af33-c893364a5df5" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/LeasesROUAssetsandLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#LeasesROUAssetsandLeaseLiabilitiesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/LeasesROUAssetsandLeaseLiabilitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_aapl_OperatingandFinanceLeaseLiability_440d7691-7548-4bde-9df7-3d26cd5c9e5d" xlink:href="aapl-20230930.xsd#aapl_OperatingandFinanceLeaseLiability"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_8825abba-5707-41ac-a861-8efab569689f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseLiability_440d7691-7548-4bde-9df7-3d26cd5c9e5d" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_8825abba-5707-41ac-a861-8efab569689f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2443bfb4-9e16-417f-98e6-abd3ac81d641" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseLiability_440d7691-7548-4bde-9df7-3d26cd5c9e5d" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2443bfb4-9e16-417f-98e6-abd3ac81d641" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_278cdb98-0dc1-4f1f-bd48-ff54f5c47017" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseLiability_440d7691-7548-4bde-9df7-3d26cd5c9e5d" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_278cdb98-0dc1-4f1f-bd48-ff54f5c47017" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_c166bd4a-c4c3-4064-8712-42316ebe0e29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseLiability_440d7691-7548-4bde-9df7-3d26cd5c9e5d" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_c166bd4a-c4c3-4064-8712-42316ebe0e29" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_OperatingandFinanceLeaseRightofUseAsset_86df7955-3f95-4588-bdab-e5491e496998" xlink:href="aapl-20230930.xsd#aapl_OperatingandFinanceLeaseRightofUseAsset"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_3ae614e4-4ad8-434c-9a56-3fe1f7f557ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseRightofUseAsset_86df7955-3f95-4588-bdab-e5491e496998" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_3ae614e4-4ad8-434c-9a56-3fe1f7f557ef" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_3f1a2cd6-ec18-43d5-b9f3-4ed56d6da317" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseRightofUseAsset_86df7955-3f95-4588-bdab-e5491e496998" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_3f1a2cd6-ec18-43d5-b9f3-4ed56d6da317" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#LeasesLeaseLiabilityMaturitiesDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_d275953e-f6f0-4677-937b-dddb63b1e3ca" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_c0dc683a-d61b-4053-84e4-bcd87715d512" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_d275953e-f6f0-4677-937b-dddb63b1e3ca" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_c0dc683a-d61b-4053-84e4-bcd87715d512" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_8a232f0c-c0cb-42fd-b125-ae15967236cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_d275953e-f6f0-4677-937b-dddb63b1e3ca" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_8a232f0c-c0cb-42fd-b125-ae15967236cc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_5ecc5d7a-04f6-479c-a2fb-7cec6b2a2066" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_7abb66ba-1f69-4419-a96b-3117fe7bd2e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_5ecc5d7a-04f6-479c-a2fb-7cec6b2a2066" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_7abb66ba-1f69-4419-a96b-3117fe7bd2e9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_b14e77ad-601f-4b7e-85ab-875d94ed43fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_5ecc5d7a-04f6-479c-a2fb-7cec6b2a2066" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_b14e77ad-601f-4b7e-85ab-875d94ed43fd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_24b48454-c0b3-4e1a-a811-23c082de7340" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_0819101c-05b1-462f-a5b3-87264c03ade1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_24b48454-c0b3-4e1a-a811-23c082de7340" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_0819101c-05b1-462f-a5b3-87264c03ade1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_a6a14ac4-75a7-4a35-b5cb-0ed11c13a8ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_24b48454-c0b3-4e1a-a811-23c082de7340" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_a6a14ac4-75a7-4a35-b5cb-0ed11c13a8ef" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_d904eed3-7ddf-4c03-a291-5406d5d57d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_24b48454-c0b3-4e1a-a811-23c082de7340" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_d904eed3-7ddf-4c03-a291-5406d5d57d0b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_567ee935-ffe3-429d-8891-2687d9f5027c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_24b48454-c0b3-4e1a-a811-23c082de7340" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_567ee935-ffe3-429d-8891-2687d9f5027c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_7758fca0-012a-4133-90c1-6b0ef137dcde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_24b48454-c0b3-4e1a-a811-23c082de7340" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_7758fca0-012a-4133-90c1-6b0ef137dcde" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_b872a0ed-0ecd-4833-9ea9-8999521d0a9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_24b48454-c0b3-4e1a-a811-23c082de7340" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_b872a0ed-0ecd-4833-9ea9-8999521d0a9f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_OperatingandFinanceLeaseLiability_35581b9d-99fc-4e6d-a5ca-8cf0a9e9b7d9" xlink:href="aapl-20230930.xsd#aapl_OperatingandFinanceLeaseLiability"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_58efe26c-cbc1-4495-8b32-085755ff4877" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseLiability_35581b9d-99fc-4e6d-a5ca-8cf0a9e9b7d9" xlink:to="loc_us-gaap_OperatingLeaseLiability_58efe26c-cbc1-4495-8b32-085755ff4877" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_892dea75-0bbe-4851-8192-4d5d4125ed2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_OperatingandFinanceLeaseLiability_35581b9d-99fc-4e6d-a5ca-8cf0a9e9b7d9" xlink:to="loc_us-gaap_FinanceLeaseLiability_892dea75-0bbe-4851-8192-4d5d4125ed2d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d4da900-b1d2-4b39-b35b-704cb96f7314" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_7060bf83-888b-4462-89ea-09f05469fb73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d4da900-b1d2-4b39-b35b-704cb96f7314" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_7060bf83-888b-4462-89ea-09f05469fb73" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_aa7b43f9-2775-42da-bcf5-ecbc4ff3d0eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d4da900-b1d2-4b39-b35b-704cb96f7314" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_aa7b43f9-2775-42da-bcf5-ecbc4ff3d0eb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_253b43f2-1d0b-4dc1-9328-d9162f669788" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d4da900-b1d2-4b39-b35b-704cb96f7314" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_253b43f2-1d0b-4dc1-9328-d9162f669788" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_87dc3e3a-fd91-45ac-b41a-bf98f42922f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d4da900-b1d2-4b39-b35b-704cb96f7314" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_87dc3e3a-fd91-45ac-b41a-bf98f42922f7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ed92b180-ec6c-4fea-aa97-b745164369e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d4da900-b1d2-4b39-b35b-704cb96f7314" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ed92b180-ec6c-4fea-aa97-b745164369e9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a685632c-56f8-4288-a9aa-957a94f36a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d4da900-b1d2-4b39-b35b-704cb96f7314" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a685632c-56f8-4288-a9aa-957a94f36a3d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_86ecf341-acbf-4d96-947c-e78ef93a2337" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_87d7b273-f17d-4b77-af01-16cc07624675" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_86ecf341-acbf-4d96-947c-e78ef93a2337" xlink:to="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_87d7b273-f17d-4b77-af01-16cc07624675" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_266b4ba5-7a52-471e-9f10-c919ad94ba3e" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_86ecf341-acbf-4d96-947c-e78ef93a2337" xlink:to="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_266b4ba5-7a52-471e-9f10-c919ad94ba3e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_89046800-d35e-4f91-bfd4-246d3632ad8b" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_86ecf341-acbf-4d96-947c-e78ef93a2337" xlink:to="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_89046800-d35e-4f91-bfd4-246d3632ad8b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_62c54b04-941d-4395-b116-35f03737119e" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_86ecf341-acbf-4d96-947c-e78ef93a2337" xlink:to="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_62c54b04-941d-4395-b116-35f03737119e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_11520efb-c508-437a-a58f-8de6475c9837" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_86ecf341-acbf-4d96-947c-e78ef93a2337" xlink:to="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_11520efb-c508-437a-a58f-8de6475c9837" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_cc761eea-4337-404e-be8f-884f712d0d11" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_86ecf341-acbf-4d96-947c-e78ef93a2337" xlink:to="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_cc761eea-4337-404e-be8f-884f712d0d11" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_c2ada1f7-40da-4229-bae1-1ad3db0d1868" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_b95162cd-44aa-44a5-a52e-57372a491aa3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_c2ada1f7-40da-4229-bae1-1ad3db0d1868" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_b95162cd-44aa-44a5-a52e-57372a491aa3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_32c5b644-f1dd-4858-9555-8dac7ff39463" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_c2ada1f7-40da-4229-bae1-1ad3db0d1868" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_32c5b644-f1dd-4858-9555-8dac7ff39463" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount_f47912f4-4a43-45e9-8d79-8f3cf2c6c237" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_9b5e73e9-3a45-4c53-bdf8-0d87faf4852c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount_f47912f4-4a43-45e9-8d79-8f3cf2c6c237" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_9b5e73e9-3a45-4c53-bdf8-0d87faf4852c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_7dfa5b95-1024-48b2-8e2e-d4bb12ef9247" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount_f47912f4-4a43-45e9-8d79-8f3cf2c6c237" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_7dfa5b95-1024-48b2-8e2e-d4bb12ef9247" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_aa885249-f64a-40a6-b933-1b3c5331f31e" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0267547b-45c4-4bbc-9ae8-bf9c81952409" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_aa885249-f64a-40a6-b933-1b3c5331f31e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0267547b-45c4-4bbc-9ae8-bf9c81952409" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_22a493b2-8168-42d3-bd28-6659fea0cd91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_aa885249-f64a-40a6-b933-1b3c5331f31e" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_22a493b2-8168-42d3-bd28-6659fea0cd91" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_0b3f00b6-e8bf-4a30-94b7-d34067057d3b" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_697f4ab9-df53-445c-a82f-4374ba26188a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_0b3f00b6-e8bf-4a30-94b7-d34067057d3b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_697f4ab9-df53-445c-a82f-4374ba26188a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_6bc51e80-ffd2-4ba5-bc58-084c8093b4b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_0b3f00b6-e8bf-4a30-94b7-d34067057d3b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_6bc51e80-ffd2-4ba5-bc58-084c8093b4b9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_69a302e4-97d1-4d4b-b6ed-be2f3caf576f" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c2dfa01a-6e51-4c69-89da-250350ac4383" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_69a302e4-97d1-4d4b-b6ed-be2f3caf576f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c2dfa01a-6e51-4c69-89da-250350ac4383" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_722dd7ca-c0e9-44bb-9f1c-dd8b84096684" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_69a302e4-97d1-4d4b-b6ed-be2f3caf576f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_722dd7ca-c0e9-44bb-9f1c-dd8b84096684" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails_1" xlink:type="simple" xlink:href="aapl-20230930.xsd#LeasesLeaseLiabilityMaturitiesDetails_1"/>
<link:calculationLink xlink:role="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails_1" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3742e9b5-9f41-42cb-9997-1b9ea22478a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_b8dc6403-f2ca-4f1c-bc7d-35d2c77f87ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3742e9b5-9f41-42cb-9997-1b9ea22478a6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_b8dc6403-f2ca-4f1c-bc7d-35d2c77f87ce" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_d53b3fe7-ffe3-4e15-b237-1726df0c7c65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3742e9b5-9f41-42cb-9997-1b9ea22478a6" xlink:to="loc_us-gaap_FinanceLeaseLiability_d53b3fe7-ffe3-4e15-b237-1726df0c7c65" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_7d86a305-74a9-49ef-ac61-5793673d6f81" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_72ff2cca-9a6b-4c57-afd4-6e92d9bfa2c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_7d86a305-74a9-49ef-ac61-5793673d6f81" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_72ff2cca-9a6b-4c57-afd4-6e92d9bfa2c5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_8ee44ddd-f5b0-4b41-9331-75d96ab10469" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_7d86a305-74a9-49ef-ac61-5793673d6f81" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_8ee44ddd-f5b0-4b41-9331-75d96ab10469" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_845be3e7-d18c-4d92-bd25-5fc728588f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_61770264-e49d-40d3-9c23-472d76d7aff4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_845be3e7-d18c-4d92-bd25-5fc728588f0a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_61770264-e49d-40d3-9c23-472d76d7aff4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_91bb989e-1a15-40a9-9291-b2779b4dde0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_845be3e7-d18c-4d92-bd25-5fc728588f0a" xlink:to="loc_us-gaap_OperatingLeaseLiability_91bb989e-1a15-40a9-9291-b2779b4dde0e" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails_2" xlink:type="simple" xlink:href="aapl-20230930.xsd#LeasesLeaseLiabilityMaturitiesDetails_2"/>
<link:calculationLink xlink:role="http://www.apple.com/role/LeasesLeaseLiabilityMaturitiesDetails_2" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_0900f6cf-82eb-4973-b572-3ff589692520" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount_81ddb147-e3da-4f43-a8f3-f67a7c8ca346" xlink:href="aapl-20230930.xsd#aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_0900f6cf-82eb-4973-b572-3ff589692520" xlink:to="loc_aapl_LesseeOperatingandFinanceLeaseLiabilityUndiscountedExcessAmount_81ddb147-e3da-4f43-a8f3-f67a7c8ca346" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_OperatingandFinanceLeaseLiability_1acd6736-3ad2-428c-8a2e-bedd02b3c887" xlink:href="aapl-20230930.xsd#aapl_OperatingandFinanceLeaseLiability"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_aapl_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_0900f6cf-82eb-4973-b572-3ff589692520" xlink:to="loc_aapl_OperatingandFinanceLeaseLiability_1acd6736-3ad2-428c-8a2e-bedd02b3c887" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/DebtSummaryofCashFlowsAssociatedwithCommercialPaperDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#DebtSummaryofCashFlowsAssociatedwithCommercialPaperDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/DebtSummaryofCashFlowsAssociatedwithCommercialPaperDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths_e9e60f69-3291-449e-b0ab-4d4dd3d4c2c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromShortTermDebtMaturingInMoreThanThreeMonths_d1b21dae-a2ef-4bb3-bcf8-553f80f27a5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromShortTermDebtMaturingInMoreThanThreeMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths_e9e60f69-3291-449e-b0ab-4d4dd3d4c2c1" xlink:to="loc_us-gaap_ProceedsFromShortTermDebtMaturingInMoreThanThreeMonths_d1b21dae-a2ef-4bb3-bcf8-553f80f27a5b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths_99276e03-b23c-4568-81dc-ccaceca10ea6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths_e9e60f69-3291-449e-b0ab-4d4dd3d4c2c1" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths_99276e03-b23c-4568-81dc-ccaceca10ea6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_69b476cf-a991-4b04-8fc4-2f7cd59e089b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromRepaymentsOfCommercialPaper"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_d19a6a43-3169-405a-b8cd-c76a87df5dde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_69b476cf-a991-4b04-8fc4-2f7cd59e089b" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_d19a6a43-3169-405a-b8cd-c76a87df5dde" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths_64b80609-9b53-479d-a483-ccf4c5754614" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_69b476cf-a991-4b04-8fc4-2f7cd59e089b" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInMoreThanThreeMonths_64b80609-9b53-479d-a483-ccf4c5754614" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/DebtSummaryofTermDebtDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#DebtSummaryofTermDebtDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/DebtSummaryofTermDebtDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_aa1c375b-97a7-4d2a-b992-55406dfc0ac4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_5d792c8f-57f3-4904-80a2-d8cb01d4c75b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_aa1c375b-97a7-4d2a-b992-55406dfc0ac4" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_5d792c8f-57f3-4904-80a2-d8cb01d4c75b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_d256c70c-c52d-4c4b-b384-0917ca9620de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_aa1c375b-97a7-4d2a-b992-55406dfc0ac4" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_d256c70c-c52d-4c4b-b384-0917ca9620de" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_aapl_HedgeAccountingAdjustmentsRelatedToLongTermDebt_62c43ab7-105b-466b-ad9f-9742921ceaff" xlink:href="aapl-20230930.xsd#aapl_HedgeAccountingAdjustmentsRelatedToLongTermDebt"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_aa1c375b-97a7-4d2a-b992-55406dfc0ac4" xlink:to="loc_aapl_HedgeAccountingAdjustmentsRelatedToLongTermDebt_62c43ab7-105b-466b-ad9f-9742921ceaff" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/DebtSummaryofTermDebtDetails_1" xlink:type="simple" xlink:href="aapl-20230930.xsd#DebtSummaryofTermDebtDetails_1"/>
<link:calculationLink xlink:role="http://www.apple.com/role/DebtSummaryofTermDebtDetails_1" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6533bc71-cbd0-4adb-acc2-f6ba9fbb9b41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_9f816f11-be57-4360-8e53-9247ad45253f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_6533bc71-cbd0-4adb-acc2-f6ba9fbb9b41" xlink:to="loc_us-gaap_LongTermDebtCurrent_9f816f11-be57-4360-8e53-9247ad45253f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_01798361-3b7b-4f31-8b21-23f3bf3315c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_6533bc71-cbd0-4adb-acc2-f6ba9fbb9b41" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_01798361-3b7b-4f31-8b21-23f3bf3315c4" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/DebtFuturePrincipalPaymentsforTermDebtDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#DebtFuturePrincipalPaymentsforTermDebtDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/DebtFuturePrincipalPaymentsforTermDebtDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_b3470fe8-c04e-4d16-a20a-9cea2245939e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_9501068f-4ea9-4e7f-b297-e98a04a5820b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b3470fe8-c04e-4d16-a20a-9cea2245939e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_9501068f-4ea9-4e7f-b297-e98a04a5820b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_154d0970-6ac8-4ffb-9c46-6a5184b20f5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b3470fe8-c04e-4d16-a20a-9cea2245939e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_154d0970-6ac8-4ffb-9c46-6a5184b20f5b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_efe3c60a-b11b-43d5-be7b-3f919a8e04a4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b3470fe8-c04e-4d16-a20a-9cea2245939e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_efe3c60a-b11b-43d5-be7b-3f919a8e04a4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_6cfef0f7-b558-4e21-be26-7d9ee8073983" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b3470fe8-c04e-4d16-a20a-9cea2245939e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_6cfef0f7-b558-4e21-be26-7d9ee8073983" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_249be03c-12da-4658-8f51-e3a44fe75753" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b3470fe8-c04e-4d16-a20a-9cea2245939e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_249be03c-12da-4658-8f51-e3a44fe75753" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_05c2315b-8da4-4d0b-8cd7-9636731c98e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b3470fe8-c04e-4d16-a20a-9cea2245939e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_05c2315b-8da4-4d0b-8cd7-9636731c98e1" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://www.apple.com/role/CommitmentsContingenciesandSupplyConcentrationsFuturePaymentsUnderUnconditionalPurchaseObligationsDetails" xlink:type="simple" xlink:href="aapl-20230930.xsd#CommitmentsContingenciesandSupplyConcentrationsFuturePaymentsUnderUnconditionalPurchaseObligationsDetails"/>
<link:calculationLink xlink:role="http://www.apple.com/role/CommitmentsContingenciesandSupplyConcentrationsFuturePaymentsUnderUnconditionalPurchaseObligationsDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_ef86d281-ef60-45e2-bccd-685c41e6d8e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_bb4e0751-715c-4c3c-a599-14d11e506eb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_ef86d281-ef60-45e2-bccd-685c41e6d8e9" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_bb4e0751-715c-4c3c-a599-14d11e506eb3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary_96737759-1c96-4751-b6ea-76d8788caa92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_ef86d281-ef60-45e2-bccd-685c41e6d8e9" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary_96737759-1c96-4751-b6ea-76d8788caa92" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary_929f3cee-1086-4e5d-81f5-0336865984c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_ef86d281-ef60-45e2-bccd-685c41e6d8e9" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary_929f3cee-1086-4e5d-81f5-0336865984c0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary_df8260e0-a388-4719-a530-a900fca8c3f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_ef86d281-ef60-45e2-bccd-685c41e6d8e9" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary_df8260e0-a388-4719-a530-a900fca8c3f3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary_a61a8e4a-7320-4b0c-8675-c34e23de09c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_ef86d281-ef60-45e2-bccd-685c41e6d8e9" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary_a61a8e4a-7320-4b0c-8675-c34e23de09c7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears_a1b7d532-6bb0-49de-9485-cab2279b5af3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_ef86d281-ef60-45e2-bccd-685c41e6d8e9" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears_a1b7d532-6bb0-49de-9485-cab2279b5af3" xlink:type="arc"/>
</link:calculationLink>
</link:linkbase>

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,824 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:4361b8b5-d51a-4c9f-b09b-b6721cc29d7f,g:865b3b8d-1460-4446-b611-684494e0f490-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:tsla="http://www.tesla.com/20231231" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types1="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.tesla.com/20231231">
<xs:import namespace="http://fasb.org/srt/2023" schemaLocation="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd"/>
<xs:import namespace="http://fasb.org/us-gaap/2023" schemaLocation="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
<xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
<xs:import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd"/>
<xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/country/2023" schemaLocation="https://xbrl.sec.gov/country/2023/country-2023.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/dei/2023" schemaLocation="https://xbrl.sec.gov/dei/2023/dei-2023.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/ecd/2023" schemaLocation="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd"/>
<xs:import namespace="http://xbrl.sec.gov/exch/2023" schemaLocation="https://xbrl.sec.gov/exch/2023/exch-2023.xsd"/>
<xs:annotation>
<xs:appinfo>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="tsla-20231231_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="tsla-20231231_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="tsla-20231231_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
<link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="tsla-20231231_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
<link:roleType id="Cover" roleURI="http://www.tesla.com/role/Cover">
<link:definition>0000001 - Document - Cover</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="AuditInformation" roleURI="http://www.tesla.com/role/AuditInformation">
<link:definition>0000002 - Document - Audit Information</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedBalanceSheets" roleURI="http://www.tesla.com/role/ConsolidatedBalanceSheets">
<link:definition>0000003 - Statement - Consolidated Balance Sheets</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedBalanceSheetsParenthetical" roleURI="http://www.tesla.com/role/ConsolidatedBalanceSheetsParenthetical">
<link:definition>0000004 - Statement - Consolidated Balance Sheets (Parenthetical)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedStatementsofOperations" roleURI="http://www.tesla.com/role/ConsolidatedStatementsofOperations">
<link:definition>0000005 - Statement - Consolidated Statements of Operations</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedStatementsofComprehensiveIncome" roleURI="http://www.tesla.com/role/ConsolidatedStatementsofComprehensiveIncome">
<link:definition>0000006 - Statement - Consolidated Statements of Comprehensive Income</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedStatementsofRedeemableNoncontrollingInterestandEquity" roleURI="http://www.tesla.com/role/ConsolidatedStatementsofRedeemableNoncontrollingInterestandEquity">
<link:definition>0000007 - Statement - Consolidated Statements of Redeemable Noncontrolling Interest and Equity</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="ConsolidatedStatementsofCashFlows" roleURI="http://www.tesla.com/role/ConsolidatedStatementsofCashFlows">
<link:definition>0000008 - Statement - Consolidated Statements of Cash Flows</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Overview" roleURI="http://www.tesla.com/role/Overview">
<link:definition>0000009 - Disclosure - Overview</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPolicies" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPolicies">
<link:definition>0000010 - Disclosure - Summary of Significant Accounting Policies</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DigitalAssetsNet" roleURI="http://www.tesla.com/role/DigitalAssetsNet">
<link:definition>0000011 - Disclosure - Digital Assets, Net</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="GoodwillandIntangibleAssets" roleURI="http://www.tesla.com/role/GoodwillandIntangibleAssets">
<link:definition>0000012 - Disclosure - Goodwill and Intangible Assets</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FairValueofFinancialInstruments" roleURI="http://www.tesla.com/role/FairValueofFinancialInstruments">
<link:definition>0000013 - Disclosure - Fair Value of Financial Instruments</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Inventory" roleURI="http://www.tesla.com/role/Inventory">
<link:definition>0000014 - Disclosure - Inventory</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SolarEnergySystemsNet" roleURI="http://www.tesla.com/role/SolarEnergySystemsNet">
<link:definition>0000015 - Disclosure - Solar Energy Systems, Net</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipmentNet" roleURI="http://www.tesla.com/role/PropertyPlantandEquipmentNet">
<link:definition>0000016 - Disclosure - Property, Plant and Equipment, Net</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="AccruedLiabilitiesandOther" roleURI="http://www.tesla.com/role/AccruedLiabilitiesandOther">
<link:definition>0000017 - Disclosure - Accrued Liabilities and Other</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="OtherLongTermLiabilities" roleURI="http://www.tesla.com/role/OtherLongTermLiabilities">
<link:definition>0000018 - Disclosure - Other Long-Term Liabilities</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Debt" roleURI="http://www.tesla.com/role/Debt">
<link:definition>0000019 - Disclosure - Debt</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="Leases" roleURI="http://www.tesla.com/role/Leases">
<link:definition>0000020 - Disclosure - Leases</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EquityIncentivePlans" roleURI="http://www.tesla.com/role/EquityIncentivePlans">
<link:definition>0000021 - Disclosure - Equity Incentive Plans</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxes" roleURI="http://www.tesla.com/role/IncomeTaxes">
<link:definition>0000022 - Disclosure - Income Taxes</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CommitmentsandContingencies" roleURI="http://www.tesla.com/role/CommitmentsandContingencies">
<link:definition>0000023 - Disclosure - Commitments and Contingencies</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="VariableInterestEntityArrangements" roleURI="http://www.tesla.com/role/VariableInterestEntityArrangements">
<link:definition>0000024 - Disclosure - Variable Interest Entity Arrangements</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RelatedPartyTransactions" roleURI="http://www.tesla.com/role/RelatedPartyTransactions">
<link:definition>0000025 - Disclosure - Related Party Transactions</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentReportingandInformationaboutGeographicAreas" roleURI="http://www.tesla.com/role/SegmentReportingandInformationaboutGeographicAreas">
<link:definition>0000026 - Disclosure - Segment Reporting and Information about Geographic Areas</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RestructuringandOther" roleURI="http://www.tesla.com/role/RestructuringandOther">
<link:definition>0000027 - Disclosure - Restructuring and Other</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesPolicies" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesPolicies">
<link:definition>9954471 - Disclosure - Summary of Significant Accounting Policies (Policies)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesTables" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesTables">
<link:definition>9954472 - Disclosure - Summary of Significant Accounting Policies (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FairValueofFinancialInstrumentsTables" roleURI="http://www.tesla.com/role/FairValueofFinancialInstrumentsTables">
<link:definition>9954473 - Disclosure - Fair Value of Financial Instruments (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="InventoryTables" roleURI="http://www.tesla.com/role/InventoryTables">
<link:definition>9954474 - Disclosure - Inventory (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SolarEnergySystemsNetTables" roleURI="http://www.tesla.com/role/SolarEnergySystemsNetTables">
<link:definition>9954475 - Disclosure - Solar Energy Systems, Net (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipmentNetTables" roleURI="http://www.tesla.com/role/PropertyPlantandEquipmentNetTables">
<link:definition>9954476 - Disclosure - Property, Plant and Equipment, Net (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="AccruedLiabilitiesandOtherTables" roleURI="http://www.tesla.com/role/AccruedLiabilitiesandOtherTables">
<link:definition>9954477 - Disclosure - Accrued Liabilities and Other (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="OtherLongTermLiabilitiesTables" roleURI="http://www.tesla.com/role/OtherLongTermLiabilitiesTables">
<link:definition>9954478 - Disclosure - Other Long-Term Liabilities (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtTables" roleURI="http://www.tesla.com/role/DebtTables">
<link:definition>9954479 - Disclosure - Debt (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesTables" roleURI="http://www.tesla.com/role/LeasesTables">
<link:definition>9954480 - Disclosure - Leases (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EquityIncentivePlansTables" roleURI="http://www.tesla.com/role/EquityIncentivePlansTables">
<link:definition>9954481 - Disclosure - Equity Incentive Plans (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesTables" roleURI="http://www.tesla.com/role/IncomeTaxesTables">
<link:definition>9954482 - Disclosure - Income Taxes (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="VariableInterestEntityArrangementsTables" roleURI="http://www.tesla.com/role/VariableInterestEntityArrangementsTables">
<link:definition>9954483 - Disclosure - Variable Interest Entity Arrangements (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentReportingandInformationaboutGeographicAreasTables" roleURI="http://www.tesla.com/role/SegmentReportingandInformationaboutGeographicAreasTables">
<link:definition>9954484 - Disclosure - Segment Reporting and Information about Geographic Areas (Tables)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="OverviewDetail" roleURI="http://www.tesla.com/role/OverviewDetail">
<link:definition>9954485 - Disclosure - Overview (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofDisaggregationofRevenuebyMajorSourceDetail" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofDisaggregationofRevenuebyMajorSourceDetail">
<link:definition>9954486 - Disclosure - Summary of Significant Accounting Policies - Schedule of Disaggregation of Revenue by Major Source (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesAdditionalInformationDetail" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetail">
<link:definition>9954487 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesAdditionalInformationDetail_1" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetail_1">
<link:definition>9954487 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofDeferredRevenueActivityDetails" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofDeferredRevenueActivityDetails">
<link:definition>9954488 - Disclosure - Summary of Significant Accounting Policies - Schedule of Deferred Revenue Activity (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofReconciliationofNetIncomeUsedinComputingBasicandDilutedNetIncomePerShareofCommonStockandBasictoDilutedWeightedAverageSharesUsedinComputingNetIncomePerShareofCommonStockDetail" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofReconciliationofNetIncomeUsedinComputingBasicandDilutedNetIncomePerShareofCommonStockandBasictoDilutedWeightedAverageSharesUsedinComputingNetIncomePerShareofCommonStockDetail">
<link:definition>9954489 - Disclosure - Summary of Significant Accounting Policies - Schedule of Reconciliation of Net Income Used in Computing Basic and Diluted Net Income Per Share of Common Stock and Basic to Diluted Weighted Average Shares Used in Computing Net Income Per Share of Common Stock (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofReconciliationofBasictoDilutedWeightedAverageSharesUsedinComputingNetIncomePerShareofCommonStockAttributabletoCommonStockholdersDetail" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofReconciliationofBasictoDilutedWeightedAverageSharesUsedinComputingNetIncomePerShareofCommonStockAttributabletoCommonStockholdersDetail">
<link:definition>9954490 - Disclosure - Summary of Significant Accounting Policies - Schedule of Reconciliation of Basic to Diluted Weighted Average Shares Used in Computing Net Income Per Share of Common Stock Attributable to Common Stockholders (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofPotentiallyDilutiveSharesthatwereExcludedfromComputationofDilutedNetIncomeperShareofCommonStockDetail" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofPotentiallyDilutiveSharesthatwereExcludedfromComputationofDilutedNetIncomeperShareofCommonStockDetail">
<link:definition>9954491 - Disclosure - Summary of Significant Accounting Policies - Schedule of Potentially Dilutive Shares that were Excluded from Computation of Diluted Net Income per Share of Common Stock (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofCashandCashEquivalentsandRestrictedCashDetail" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofCashandCashEquivalentsandRestrictedCashDetail">
<link:definition>9954492 - Disclosure - Summary of Significant Accounting Policies - Schedule of Cash and Cash Equivalents and Restricted Cash (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesofRespectiveAssetsDetails" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesofRespectiveAssetsDetails">
<link:definition>9954493 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Lives of Respective Assets (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofEstimatedUsefulLivesofRelatedAssetsDetails" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofEstimatedUsefulLivesofRelatedAssetsDetails">
<link:definition>9954494 - Disclosure - Summary of Significant Accounting Policies - Schedule of Estimated Useful Lives of Related Assets (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofAccruedWarrantyActivityDetail" roleURI="http://www.tesla.com/role/SummaryofSignificantAccountingPoliciesScheduleofAccruedWarrantyActivityDetail">
<link:definition>9954495 - Disclosure - Summary of Significant Accounting Policies - Schedule of Accrued Warranty Activity (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DigitalAssetsNetDetail" roleURI="http://www.tesla.com/role/DigitalAssetsNetDetail">
<link:definition>9954496 - Disclosure - Digital Assets, Net (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="GoodwillandIntangibleAssetsDetails" roleURI="http://www.tesla.com/role/GoodwillandIntangibleAssetsDetails">
<link:definition>9954497 - Disclosure - Goodwill and Intangible Assets (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FairValueofFinancialInstrumentsScheduleofAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetail" roleURI="http://www.tesla.com/role/FairValueofFinancialInstrumentsScheduleofAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetail">
<link:definition>9954498 - Disclosure - Fair Value of Financial Instruments - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FairValueofFinancialInstrumentsScheduleofCashCashEquivalentsandMarketableSecuritiesDetails" roleURI="http://www.tesla.com/role/FairValueofFinancialInstrumentsScheduleofCashCashEquivalentsandMarketableSecuritiesDetails">
<link:definition>9954499 - Disclosure - Fair Value of Financial Instruments - Schedule of Cash, Cash Equivalents and Marketable Securities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FairValueofFinancialInstrumentsSummaryofFairValueofMarketableSecuritiesbyContractualMaturitiesDetails" roleURI="http://www.tesla.com/role/FairValueofFinancialInstrumentsSummaryofFairValueofMarketableSecuritiesbyContractualMaturitiesDetails">
<link:definition>9954500 - Disclosure - Fair Value of Financial Instruments - Summary of Fair Value of Marketable Securities by Contractual Maturities (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FairValueofFinancialInstrumentsAdditionalInformationDetail" roleURI="http://www.tesla.com/role/FairValueofFinancialInstrumentsAdditionalInformationDetail">
<link:definition>9954501 - Disclosure - Fair Value of Financial Instruments - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="FairValueofFinancialInstrumentsScheduleofEstimatedFairValuesandCarryingValuesDetail" roleURI="http://www.tesla.com/role/FairValueofFinancialInstrumentsScheduleofEstimatedFairValuesandCarryingValuesDetail">
<link:definition>9954502 - Disclosure - Fair Value of Financial Instruments - Schedule of Estimated Fair Values and Carrying Values (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="InventoryScheduleofInventoryDetail" roleURI="http://www.tesla.com/role/InventoryScheduleofInventoryDetail">
<link:definition>9954503 - Disclosure - Inventory - Schedule of Inventory (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="InventoryAdditionalInformationDetail" roleURI="http://www.tesla.com/role/InventoryAdditionalInformationDetail">
<link:definition>9954504 - Disclosure - Inventory - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SolarEnergySystemsNetComponentsofSolarEnergySystemsNetDetails" roleURI="http://www.tesla.com/role/SolarEnergySystemsNetComponentsofSolarEnergySystemsNetDetails">
<link:definition>9954505 - Disclosure - Solar Energy Systems, Net - Components of Solar Energy Systems, Net (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipmentNetScheduleofPropertyPlantandEquipmentNetDetail" roleURI="http://www.tesla.com/role/PropertyPlantandEquipmentNetScheduleofPropertyPlantandEquipmentNetDetail">
<link:definition>9954506 - Disclosure - Property, Plant and Equipment, Net - Schedule of Property, Plant and Equipment, Net (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="PropertyPlantandEquipmentNetAdditionalInformationDetail" roleURI="http://www.tesla.com/role/PropertyPlantandEquipmentNetAdditionalInformationDetail">
<link:definition>9954507 - Disclosure - Property, Plant and Equipment, Net - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="AccruedLiabilitiesandOtherScheduleofAccruedLiabilitiesandOtherCurrentLiabilitiesDetail" roleURI="http://www.tesla.com/role/AccruedLiabilitiesandOtherScheduleofAccruedLiabilitiesandOtherCurrentLiabilitiesDetail">
<link:definition>9954508 - Disclosure - Accrued Liabilities and Other - Schedule of Accrued Liabilities and Other Current Liabilities (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="OtherLongTermLiabilitiesScheduleofOtherLongtermLiabilitiesDetail" roleURI="http://www.tesla.com/role/OtherLongTermLiabilitiesScheduleofOtherLongtermLiabilitiesDetail">
<link:definition>9954509 - Disclosure - Other Long-Term Liabilities - Schedule of Other Long-term Liabilities (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtSummaryofDebtandFinanceLeasesDetail" roleURI="http://www.tesla.com/role/DebtSummaryofDebtandFinanceLeasesDetail">
<link:definition>9954510 - Disclosure - Debt - Summary of Debt and Finance Leases (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtAdditionalInformationDetails" roleURI="http://www.tesla.com/role/DebtAdditionalInformationDetails">
<link:definition>9954511 - Disclosure - Debt - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="DebtPrincipalofMaturitiesofDebtDetails" roleURI="http://www.tesla.com/role/DebtPrincipalofMaturitiesofDebtDetails">
<link:definition>9954512 - Disclosure - Debt - Principal of Maturities of Debt (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesAdditionalInformationDetail" roleURI="http://www.tesla.com/role/LeasesAdditionalInformationDetail">
<link:definition>9954513 - Disclosure - Leases - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesScheduleofOperatingandFinancingLeasesPresentedinBalanceSheetsDetail" roleURI="http://www.tesla.com/role/LeasesScheduleofOperatingandFinancingLeasesPresentedinBalanceSheetsDetail">
<link:definition>9954514 - Disclosure - Leases - Schedule of Operating and Financing Leases Presented in Balance Sheets (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesScheduleofComponentsofLeaseExpenseandOtherInformationRelatedtoLeasesDetail" roleURI="http://www.tesla.com/role/LeasesScheduleofComponentsofLeaseExpenseandOtherInformationRelatedtoLeasesDetail">
<link:definition>9954515 - Disclosure - Leases - Schedule of Components of Lease Expense and Other Information Related to Leases (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesSupplementalCashFlowInformationRelatedtoLeasesDetail" roleURI="http://www.tesla.com/role/LeasesSupplementalCashFlowInformationRelatedtoLeasesDetail">
<link:definition>9954516 - Disclosure - Leases - Supplemental Cash Flow Information Related to Leases (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesScheduleofMaturitiesofOperatingandFinanceLeaseLiabilitiesDetail" roleURI="http://www.tesla.com/role/LeasesScheduleofMaturitiesofOperatingandFinanceLeaseLiabilitiesDetail">
<link:definition>9954517 - Disclosure - Leases - Schedule of Maturities of Operating and Finance Lease Liabilities (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesScheduleofMaturitiesofOperatingandFinanceLeaseLiabilitiesDetail_1" roleURI="http://www.tesla.com/role/LeasesScheduleofMaturitiesofOperatingandFinanceLeaseLiabilitiesDetail_1">
<link:definition>9954517 - Disclosure - Leases - Schedule of Maturities of Operating and Finance Lease Liabilities (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesMaturitiesofOperatingLeaseandSalesTypeLeaseReceivablesfromCustomersDetail" roleURI="http://www.tesla.com/role/LeasesMaturitiesofOperatingLeaseandSalesTypeLeaseReceivablesfromCustomersDetail">
<link:definition>9954518 - Disclosure - Leases - Maturities of Operating Lease and Sales-Type Lease Receivables from Customers (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesScheduleofLeaseReceivablesRelatingtoSalesTypeLeasesDetail" roleURI="http://www.tesla.com/role/LeasesScheduleofLeaseReceivablesRelatingtoSalesTypeLeasesDetail">
<link:definition>9954519 - Disclosure - Leases - Schedule of Lease Receivables Relating to Sales-Type Leases (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="LeasesScheduleoffutureminimummasterleasepaymentstobereceivedfrominvestorsDetail" roleURI="http://www.tesla.com/role/LeasesScheduleoffutureminimummasterleasepaymentstobereceivedfrominvestorsDetail">
<link:definition>9954520 - Disclosure - Leases - Schedule of future minimum master lease payments to be received from investors (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EquityIncentivePlansAdditionalInformationDetail" roleURI="http://www.tesla.com/role/EquityIncentivePlansAdditionalInformationDetail">
<link:definition>9954521 - Disclosure - Equity Incentive Plans - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EquityIncentivePlansSummaryofStockOptionandRSUActivityDetail" roleURI="http://www.tesla.com/role/EquityIncentivePlansSummaryofStockOptionandRSUActivityDetail">
<link:definition>9954522 - Disclosure - Equity Incentive Plans - Summary of Stock Option and RSU Activity (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EquityIncentivePlansScheduleofFairValueofStockOptionAwardandESPPonGrantDateDetail" roleURI="http://www.tesla.com/role/EquityIncentivePlansScheduleofFairValueofStockOptionAwardandESPPonGrantDateDetail">
<link:definition>9954523 - Disclosure - Equity Incentive Plans - Schedule of Fair Value of Stock Option Award and ESPP on Grant Date (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EquityIncentivePlansSummaryofOperationalMilestoneBasedonRevenueorAdjustedEBITDADetail" roleURI="http://www.tesla.com/role/EquityIncentivePlansSummaryofOperationalMilestoneBasedonRevenueorAdjustedEBITDADetail">
<link:definition>9954524 - Disclosure - Equity Incentive Plans - Summary of Operational Milestone Based on Revenue or Adjusted EBITDA (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="EquityIncentivePlansSummaryofStockBasedCompensationExpenseDetail" roleURI="http://www.tesla.com/role/EquityIncentivePlansSummaryofStockBasedCompensationExpenseDetail">
<link:definition>9954525 - Disclosure - Equity Incentive Plans - Summary of Stock-Based Compensation Expense (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesScheduleofIncomebeforeProvisionForIncomeTaxesDetails" roleURI="http://www.tesla.com/role/IncomeTaxesScheduleofIncomebeforeProvisionForIncomeTaxesDetails">
<link:definition>9954526 - Disclosure - Income Taxes - Schedule of Income before Provision For Income Taxes (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesAdditionalInformationDetails" roleURI="http://www.tesla.com/role/IncomeTaxesAdditionalInformationDetails">
<link:definition>9954527 - Disclosure - Income Taxes - Additional Information (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesComponentsofProvisionforIncomeTaxesDetails" roleURI="http://www.tesla.com/role/IncomeTaxesComponentsofProvisionforIncomeTaxesDetails">
<link:definition>9954528 - Disclosure - Income Taxes - Components of Provision for Income Taxes (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesScheduleofReconciliationofTaxesatFederalStatutoryRatetoProvisionforIncomeTaxesDetails" roleURI="http://www.tesla.com/role/IncomeTaxesScheduleofReconciliationofTaxesatFederalStatutoryRatetoProvisionforIncomeTaxesDetails">
<link:definition>9954529 - Disclosure - Income Taxes - Schedule of Reconciliation of Taxes at Federal Statutory Rate to Provision for Income Taxes (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesScheduleofDeferredTaxAssetsLiabilitiesDetails" roleURI="http://www.tesla.com/role/IncomeTaxesScheduleofDeferredTaxAssetsLiabilitiesDetails">
<link:definition>9954530 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets (Liabilities) (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="IncomeTaxesScheduleofChangestoGrossUnrecognizedTaxBenefitsDetails" roleURI="http://www.tesla.com/role/IncomeTaxesScheduleofChangestoGrossUnrecognizedTaxBenefitsDetails">
<link:definition>9954531 - Disclosure - Income Taxes - Schedule of Changes to Gross Unrecognized Tax Benefits (Details)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="CommitmentsandContingenciesDetail" roleURI="http://www.tesla.com/role/CommitmentsandContingenciesDetail">
<link:definition>9954532 - Disclosure - Commitments and Contingencies (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="VariableInterestEntityArrangementsCarryingValuesofAssetsandLiabilitiesofSubsidiaryinConsolidatedBalanceSheetsDetail" roleURI="http://www.tesla.com/role/VariableInterestEntityArrangementsCarryingValuesofAssetsandLiabilitiesofSubsidiaryinConsolidatedBalanceSheetsDetail">
<link:definition>9954533 - Disclosure - Variable Interest Entity Arrangements - Carrying Values of Assets and Liabilities of Subsidiary in Consolidated Balance Sheets (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentReportingandInformationaboutGeographicAreasAdditionalInformationDetail" roleURI="http://www.tesla.com/role/SegmentReportingandInformationaboutGeographicAreasAdditionalInformationDetail">
<link:definition>9954534 - Disclosure - Segment Reporting and Information about Geographic Areas - Additional Information (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentReportingandInformationaboutGeographicAreasScheduleofTotalRevenuesandGrossProfitbyReportableSegmentDetail" roleURI="http://www.tesla.com/role/SegmentReportingandInformationaboutGeographicAreasScheduleofTotalRevenuesandGrossProfitbyReportableSegmentDetail">
<link:definition>9954535 - Disclosure - Segment Reporting and Information about Geographic Areas - Schedule of Total Revenues and Gross Profit by Reportable Segment (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentReportingandInformationaboutGeographicAreasScheduleofRevenuesbyGeographicAreaDetail" roleURI="http://www.tesla.com/role/SegmentReportingandInformationaboutGeographicAreasScheduleofRevenuesbyGeographicAreaDetail">
<link:definition>9954536 - Disclosure - Segment Reporting and Information about Geographic Areas - Schedule of Revenues by Geographic Area (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentReportingandInformationaboutGeographicAreasScheduleofLongLivedAssetsbyGeographicAreaDetail" roleURI="http://www.tesla.com/role/SegmentReportingandInformationaboutGeographicAreasScheduleofLongLivedAssetsbyGeographicAreaDetail">
<link:definition>9954537 - Disclosure - Segment Reporting and Information about Geographic Areas - Schedule of Long-Lived Assets by Geographic Area (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="SegmentReportingandInformationaboutGeographicAreasScheduleofinventorybyreportablesegmentDetail" roleURI="http://www.tesla.com/role/SegmentReportingandInformationaboutGeographicAreasScheduleofinventorybyreportablesegmentDetail">
<link:definition>9954538 - Disclosure - Segment Reporting and Information about Geographic Areas - Schedule of inventory by reportable segment (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
<link:roleType id="RestructuringandOtherDetail" roleURI="http://www.tesla.com/role/RestructuringandOtherDetail">
<link:definition>9954539 - Disclosure - Restructuring and Other (Detail)</link:definition>
<link:usedOn>link:presentationLink</link:usedOn>
<link:usedOn>link:calculationLink</link:usedOn>
<link:usedOn>link:definitionLink</link:usedOn>
</link:roleType>
</xs:appinfo>
</xs:annotation>
<xs:element id="tsla_DebtInstrumentConvertibleConversionPricePercentage" abstract="false" name="DebtInstrumentConvertibleConversionPricePercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="tsla_SolarCityMember" abstract="true" name="SolarCityMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_NonrecourseDebtMember" abstract="true" name="NonrecourseDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_IncreaseDecreaseInOperatingLeaseVehicles" abstract="false" name="IncreaseDecreaseInOperatingLeaseVehicles" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AccruedWarrantyReserveCurrentPortion" abstract="false" name="AccruedWarrantyReserveCurrentPortion" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AccruedWarrantyReserveNoncurrent" abstract="false" name="AccruedWarrantyReserveNoncurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_NumberOfOperationalMilestonesFocusedOnAdjustedEBITDA" abstract="false" name="NumberOfOperationalMilestonesFocusedOnAdjustedEBITDA" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_IncomeLossFromContinuingOperationsBeforeIncomeTaxesAttributableToNoncontrollingInterestAndRedeemableNoncontrollingInterest" abstract="false" name="IncomeLossFromContinuingOperationsBeforeIncomeTaxesAttributableToNoncontrollingInterestAndRedeemableNoncontrollingInterest" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperatingLeasedAssetsNet" abstract="false" name="OperatingLeasedAssetsNet" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVest" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVest" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementPaymentOfExercisePricePerShare" abstract="false" name="ShareBasedCompensationArrangementPaymentOfExercisePricePerShare" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
<xs:element id="tsla_LeaseAssetsPendingInterconnection" abstract="false" name="LeaseAssetsPendingInterconnection" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ForeignCurrencyTransactionGainLossRealizedAndUnrealized" abstract="false" name="ForeignCurrencyTransactionGainLossRealizedAndUnrealized" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DigitalAssetsMember" abstract="true" name="DigitalAssetsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_WarrantsSettlement" abstract="false" name="WarrantsSettlement" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ComputerEquipmentAndSoftwareMember" abstract="true" name="ComputerEquipmentAndSoftwareMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_DeferredTaxLiabilitiesOperatingLeaseRightOfUseAssets" abstract="false" name="DeferredTaxLiabilitiesOperatingLeaseRightOfUseAssets" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_NumberOfTranches" abstract="false" name="NumberOfTranches" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_AnnualTaxRevenuesToBeGeneratedEndOfFiveYear" abstract="false" name="AnnualTaxRevenuesToBeGeneratedEndOfFiveYear" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DeferredTaxAssetsOperatingLeaseRightOfUseLiabilities" abstract="false" name="DeferredTaxAssetsOperatingLeaseRightOfUseLiabilities" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DebtInstrumentContractualMaturityMonthAndYearRangeStart" abstract="false" name="DebtInstrumentContractualMaturityMonthAndYearRangeStart" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:gYearMonthItemType"/>
<xs:element id="tsla_FirstTrancheMilestoneMember" abstract="true" name="FirstTrancheMilestoneMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_RestructuringAndOtherExpenses" abstract="false" name="RestructuringAndOtherExpenses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_SolarEnergySystemsMember" abstract="true" name="SolarEnergySystemsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_SyndicateOfBanksMember" abstract="true" name="SyndicateOfBanksMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_StockBasedAwardsMember" abstract="true" name="StockBasedAwardsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_NumberOfConsolidatedActions" abstract="false" name="NumberOfConsolidatedActions" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_LeaseAssetsInService" abstract="false" name="LeaseAssetsInService" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_PercentageOfPayrollDeductionsOfEmployeesEligibleCompensation" abstract="false" name="PercentageOfPayrollDeductionsOfEmployeesEligibleCompensation" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="tsla_LeasedAssetsNet" abstract="false" name="LeasedAssetsNet" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_WeightedAverageRemainingLeaseTermAbstract" abstract="true" name="WeightedAverageRemainingLeaseTermAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="tsla_StandardProductWarrantyTerm" abstract="false" name="StandardProductWarrantyTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_CustomerDepositsPolicyTextBlock" abstract="false" name="CustomerDepositsPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueFive" abstract="false" name="OperationalMilestoneBasedOnRevenueFive" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_MarketCapitalization" abstract="false" name="MarketCapitalization" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DeferredTaxAssetsDeferredGlobalIntangibleLowTaxedIncomeTaxAssets" abstract="false" name="DeferredTaxAssetsDeferredGlobalIntangibleLowTaxedIncomeTaxAssets" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_LineOfCreditFacilityMaximumCommitmentAmount" abstract="false" name="LineOfCreditFacilityMaximumCommitmentAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_EnergyGenerationAndStorageSalesMember" abstract="true" name="EnergyGenerationAndStorageSalesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_IncreaseToMarketCapitalizationForEachRemainingMilestone" abstract="false" name="IncreaseToMarketCapitalizationForEachRemainingMilestone" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_EnergyGenerationAndStorageMember" abstract="true" name="EnergyGenerationAndStorageMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_TemporaryEquityDistributionsToNoncontrollingInterests" abstract="false" name="TemporaryEquityDistributionsToNoncontrollingInterests" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_LeasedAssetsGross" abstract="false" name="LeasedAssetsGross" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AccruedPurchases" abstract="false" name="AccruedPurchases" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_EnergyGenerationAndStorageLeasingMember" abstract="true" name="EnergyGenerationAndStorageLeasingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_LeasedAssetsNetBeforeConstructionAndPendingInterconnection" abstract="false" name="LeasedAssetsNetBeforeConstructionAndPendingInterconnection" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementHoldingPeriodOfSharesPostExercise" abstract="false" name="ShareBasedCompensationArrangementHoldingPeriodOfSharesPostExercise" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_LongTermDebtAndFinanceLeasesCurrent" abstract="false" name="LongTermDebtAndFinanceLeasesCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_GrantFundingEqualPercentageOnPropertyTaxesPaid" abstract="false" name="GrantFundingEqualPercentageOnPropertyTaxesPaid" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="tsla_LossContingencyNumberOfPurportedStockholderClassActionsFiled" abstract="false" name="LossContingencyNumberOfPurportedStockholderClassActionsFiled" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDAEight" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDAEight" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardValueOfSharesAvailableForIssuance" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardValueOfSharesAvailableForIssuance" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_PaymentsForBuyOutsOfNoncontrollingInterestsInSubsidiaries" abstract="false" name="PaymentsForBuyOutsOfNoncontrollingInterestsInSubsidiaries" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDAFour" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDAFour" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDAOne" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDAOne" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_BeneficialCorporateIncomeTaxRateForCertainEnterprises" abstract="false" name="BeneficialCorporateIncomeTaxRateForCertainEnterprises" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="tsla_SummaryOfSignificantAccountingPoliciesLineItems" abstract="true" name="SummaryOfSignificantAccountingPoliciesLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsToVestedAndExpectedToVestWeightedAverageGrantDateFairValue" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsToVestedAndExpectedToVestWeightedAverageGrantDateFairValue" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
<xs:element id="tsla_NumberOfTransactions" abstract="false" name="NumberOfTransactions" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueTwo" abstract="false" name="OperationalMilestoneBasedOnRevenueTwo" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AssetsLeasedToOthers1Member" abstract="true" name="AssetsLeasedToOthers1Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_GigafactoryTexasWithTravisMember" abstract="true" name="GigafactoryTexasWithTravisMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_NumberOfOperationalMilestonesFocusedOnRevenueTargets" abstract="false" name="NumberOfOperationalMilestonesFocusedOnRevenueTargets" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_BuyOutOfNoncontrollingInterest" abstract="false" name="BuyOutOfNoncontrollingInterest" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedPaymentArrangementNonvestedAwardProbableOfAchievementCostNotYetRecognizedAmount" abstract="false" name="ShareBasedPaymentArrangementNonvestedAwardProbableOfAchievementCostNotYetRecognizedAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfRemainingVestingOption" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOfRemainingVestingOption" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ScheduleOfDepreciationAndAmortizationComputedUsingStraightLineMethodOverEstimatedUsefulLivesOfAssetsTableTextBlock" abstract="false" name="ScheduleOfDepreciationAndAmortizationComputedUsingStraightLineMethodOverEstimatedUsefulLivesOfAssetsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_SolarEnergySystemsNetDisclosureTextBlock" abstract="false" name="SolarEnergySystemsNetDisclosureTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_AdjustmentForNetLossRealizedAndIncludedInNetIncome" abstract="false" name="AdjustmentForNetLossRealizedAndIncludedInNetIncome" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_RecourseDebtMember" abstract="true" name="RecourseDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_DigitalAssetsNetTextBlock" abstract="false" name="DigitalAssetsNetTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_ScheduleOfOperatingAndFinancingLeasesPresentedInBalanceSheetTableTextBlock" abstract="false" name="ScheduleOfOperatingAndFinancingLeasesPresentedInBalanceSheetTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_SolarBondsMember" abstract="true" name="SolarBondsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AutomotiveSalesMember" abstract="true" name="AutomotiveSalesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_GrossSolarEnergySystemUnderLeasePassThroughFundArrangement" abstract="false" name="GrossSolarEnergySystemUnderLeasePassThroughFundArrangement" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_PurchaseOfDigitalAssets" abstract="false" name="PurchaseOfDigitalAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ResearchTaxCreditCarryForwardExpirationDates" abstract="false" name="ResearchTaxCreditCarryForwardExpirationDates" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:gYearItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueSeven" abstract="false" name="OperationalMilestoneBasedOnRevenueSeven" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DigitalAssetsNetNonCurrent" abstract="false" name="DigitalAssetsNetNonCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueOne" abstract="false" name="OperationalMilestoneBasedOnRevenueOne" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDAFive" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDAFive" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DeferredTaxAssetsCapitalizedResearchAndDevelopmentCosts" abstract="false" name="DeferredTaxAssetsCapitalizedResearchAndDevelopmentCosts" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_LongTermDebtAndFinanceLeasesNoncurrent" abstract="false" name="LongTermDebtAndFinanceLeasesNoncurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_DebtInstrumentContractualMaturityMonthAndYear" abstract="false" name="DebtInstrumentContractualMaturityMonthAndYear" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:gYearMonthItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisedOrReleasedInPeriod" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisedOrReleasedInPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
<xs:element id="tsla_OtherInternationalMember" abstract="true" name="OtherInternationalMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisedOrReleasedInPeriodWeightedAverageExercisePrice" abstract="false" name="ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisedOrReleasedInPeriodWeightedAverageExercisePrice" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
<xs:element id="tsla_LeaseArrangementAmountObligatedToSpendOrIncur" abstract="false" name="LeaseArrangementAmountObligatedToSpendOrIncur" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_TwoThousandAndTwelvePerformanceAwardMember" abstract="true" name="TwoThousandAndTwelvePerformanceAwardMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_ScheduleOfCashAndCashEquivalentsAndRestrictedCashTableTextBlock" abstract="false" name="ScheduleOfCashAndCashEquivalentsAndRestrictedCashTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_NoncontrollingInterestsIncreaseFromContributionsFromNoncontrollingInterests" abstract="false" name="NoncontrollingInterestsIncreaseFromContributionsFromNoncontrollingInterests" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_SalesReturnReserveCurrent" abstract="false" name="SalesReturnReserveCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_LeasedAssetsAccumulatedDepreciationAndAmortization" abstract="false" name="LeasedAssetsAccumulatedDepreciationAndAmortization" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_NumberOfPendingResolutions" abstract="false" name="NumberOfPendingResolutions" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_LeasePassThroughFinancingObligationMember" abstract="true" name="LeasePassThroughFinancingObligationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_DeferredTaxAssetLiabilitiesNet" abstract="false" name="DeferredTaxAssetLiabilitiesNet" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AutomotiveRegulatoryCreditsMember" abstract="true" name="AutomotiveRegulatoryCreditsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_PropertySubjectToOrAvailableForOperatingLeasePolicyTextBlock" abstract="false" name="PropertySubjectToOrAvailableForOperatingLeasePolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_CashEquityDebtMember" abstract="true" name="CashEquityDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AutomotiveLeasingDirectVehicleOperatingMember" abstract="true" name="AutomotiveLeasingDirectVehicleOperatingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_CertificatesOfDepositAndTimeDepositsMember" abstract="true" name="CertificatesOfDepositAndTimeDepositsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_FairMarketValueOfIntangibleAssets" abstract="false" name="FairMarketValueOfIntangibleAssets" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDAThree" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDAThree" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_MachineryEquipmentVehiclesAndOfficeFurnitureMember" abstract="true" name="MachineryEquipmentVehiclesAndOfficeFurnitureMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_PropertyPlantAndEquipmentNetMember" abstract="true" name="PropertyPlantAndEquipmentNetMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDASix" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDASix" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDASeven" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDASeven" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_TwoThousandAndEighteenPerformanceAwardMember" abstract="true" name="TwoThousandAndEighteenPerformanceAwardMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_GigafactoryTexasWithDelValleIndependentSchoolMember" abstract="true" name="GigafactoryTexasWithDelValleIndependentSchoolMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_CreditAgreementMember" abstract="true" name="CreditAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_PaymentsForSolarEnergySystemsNetOfSales" abstract="false" name="PaymentsForSolarEnergySystemsNetOfSales" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_TemporaryEquityBuyOutOfNoncontrollingInterests" abstract="false" name="TemporaryEquityBuyOutOfNoncontrollingInterests" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueFour" abstract="false" name="OperationalMilestoneBasedOnRevenueFour" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperatingLeaseVehiclesMember" abstract="true" name="OperatingLeaseVehiclesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AssetsToBeLeasedCIP" abstract="false" name="AssetsToBeLeasedCIP" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisedOrReleasedInPeriod" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisedOrReleasedInPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
<xs:element id="tsla_ToolingMember" abstract="true" name="ToolingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AutomotiveSegmentMember" abstract="true" name="AutomotiveSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_NoncontrollingInterestsPolicyTextBlock" abstract="false" name="NoncontrollingInterestsPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_GovernmentGrantReceipt" abstract="false" name="GovernmentGrantReceipt" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DepreciationAmortizationAndImpairment" abstract="false" name="DepreciationAmortizationAndImpairment" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_CommitmentsAndContingenciesLineItems" abstract="true" name="CommitmentsAndContingenciesLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="tsla_LesseeOperatingLeaseCapitalExpenditures" abstract="false" name="LesseeOperatingLeaseCapitalExpenditures" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ResearchFoundationMember" abstract="true" name="ResearchFoundationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_VariableInterestEntityDisclosureAbstract" abstract="true" name="VariableInterestEntityDisclosureAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="tsla_OneHundredThirtyPercentApplicableConversionPriceMember" abstract="true" name="OneHundredThirtyPercentApplicableConversionPriceMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_CumulativeImpairmentOfIntangibleAssetsExcludingGoodwill" abstract="false" name="CumulativeImpairmentOfIntangibleAssetsExcludingGoodwill" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_SolarAssetBackedNotesMember" abstract="true" name="SolarAssetBackedNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AdditionalSharesClaimValue" abstract="false" name="AdditionalSharesClaimValue" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_SalesAndServicesMember" abstract="true" name="SalesAndServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AgreementTerm" abstract="false" name="AgreementTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_LoansPayableTerm" abstract="false" name="LoansPayableTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_AuditorInformationAbstract" abstract="true" name="AuditorInformationAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="tsla_DebtInstrumentNumberOfExtensionOptions" abstract="false" name="DebtInstrumentNumberOfExtensionOptions" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_NetIncomeLossIncludingPortionAttributableToRedeemableNonControllingInterestAndNonControllingInterestInSubsidiaries" abstract="false" name="NetIncomeLossIncludingPortionAttributableToRedeemableNonControllingInterestAndNonControllingInterestInSubsidiaries" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisedOrReleasedWeightedAverageGrantDateFairValue" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisedOrReleasedWeightedAverageGrantDateFairValue" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
<xs:element id="tsla_BeneficialCorporateIncomeTaxRate" abstract="false" name="BeneficialCorporateIncomeTaxRate" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="tsla_RobynDenholmMember" abstract="true" name="RobynDenholmMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_GainLossOnDigitalAssets" abstract="false" name="GainLossOnDigitalAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_SummaryOfOperationalMilestoneBasedOnRevenueOrAdjustedEBITDATableTextBlock" abstract="false" name="SummaryOfOperationalMilestoneBasedOnRevenueOrAdjustedEBITDATableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_PaymentsToAcquireOtherIndefiniteLivedIntangibleAssets" abstract="false" name="PaymentsToAcquireOtherIndefiniteLivedIntangibleAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AutomotiveLeasingMember" abstract="true" name="AutomotiveLeasingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_LeasePassThroughFinancingObligationTableTextBlock" abstract="false" name="LeasePassThroughFinancingObligationTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_CorporateIncomeTaxRate" abstract="false" name="CorporateIncomeTaxRate" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="tsla_WarrantsSettlementShares" abstract="false" name="WarrantsSettlementShares" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
<xs:element id="tsla_GrossSolarEnergySystemUnderLeasePassThroughFundArrangementAccumulatedDepreciation" abstract="false" name="GrossSolarEnergySystemUnderLeasePassThroughFundArrangementAccumulatedDepreciation" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" abstract="false" name="ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_DigitalAssetsNetPolicyTextBlock" abstract="false" name="DigitalAssetsNetPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueEight" abstract="false" name="OperationalMilestoneBasedOnRevenueEight" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_GovernmentRebatesReceivablesMember" abstract="true" name="GovernmentRebatesReceivablesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AccruedAndOtherCurrentLiabilities" abstract="false" name="AccruedAndOtherCurrentLiabilities" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_LesseeRenewalTerm" abstract="false" name="LesseeRenewalTerm" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_GovernmentAssistanceProgramsAndIncentivesPolicyTextBlock" abstract="false" name="GovernmentAssistanceProgramsAndIncentivesPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_TermOfCreditFacility" abstract="false" name="TermOfCreditFacility" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_StockOptionsAndRestrictedStockUnitsMember" abstract="true" name="StockOptionsAndRestrictedStockUnitsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_ScheduleOfShareBasedPaymentAwardStockOptionsAndEmployeeStockPurchasePlanValuationAssumptionsTableTextBlock" abstract="false" name="ScheduleOfShareBasedPaymentAwardStockOptionsAndEmployeeStockPurchasePlanValuationAssumptionsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_DebtInstrumentContractualMaturityYear" abstract="false" name="DebtInstrumentContractualMaturityYear" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:gYearListItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueThree" abstract="false" name="OperationalMilestoneBasedOnRevenueThree" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_NumberOfTeslaStockholders" abstract="false" name="NumberOfTeslaStockholders" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
<xs:element id="tsla_OtherLiabilitiesMiscellaneousNoncurrent" abstract="false" name="OtherLiabilitiesMiscellaneousNoncurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_TwoPointZeroZeroPercentSeniorConvertibleNoteDueTwentyTwentyFourMember" abstract="true" name="TwoPointZeroZeroPercentSeniorConvertibleNoteDueTwentyTwentyFourMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_DebtInstrumentExtensionTerm" abstract="false" name="DebtInstrumentExtensionTerm" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_WeightedAverageDiscountRateAbstract" abstract="true" name="WeightedAverageDiscountRateAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
<xs:element id="tsla_RenewableEnergyCreditMember" abstract="true" name="RenewableEnergyCreditMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_DebtInstrumentContractualMaturityMonthAndYearRangeEnd" abstract="false" name="DebtInstrumentContractualMaturityMonthAndYearRangeEnd" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:gYearMonthItemType"/>
<xs:element id="tsla_ScheduleOfPropertyPlantAndEquipmentTableTextBlock" abstract="false" name="ScheduleOfPropertyPlantAndEquipmentTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_ContractWithCustomerLiabilityIncreaseDecrease" abstract="false" name="ContractWithCustomerLiabilityIncreaseDecrease" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_SummaryOfSignificantAccountingPoliciesTable" abstract="true" name="SummaryOfSignificantAccountingPoliciesTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="tsla_EnergyGenerationAndStorageLeasingCustomerPaymentsMember" abstract="true" name="EnergyGenerationAndStorageLeasingCustomerPaymentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_OtherRecourseDebtMember" abstract="true" name="OtherRecourseDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_ServicesAndOtherMember" abstract="true" name="ServicesAndOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_PercentageOfEmployeesEligibleCompensationVested" abstract="false" name="PercentageOfEmployeesEligibleCompensationVested" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
<xs:element id="tsla_OperatingLeasesNotYetCommencedValueWithAggregateRentPayments" abstract="false" name="OperatingLeasesNotYetCommencedValueWithAggregateRentPayments" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_EnergyGenerationAndStorageSegmentMember" abstract="true" name="EnergyGenerationAndStorageSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_AutomotiveAssetBackedNotesMember" abstract="true" name="AutomotiveAssetBackedNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_ContractWithCustomerLiabilityAdditions" abstract="false" name="ContractWithCustomerLiabilityAdditions" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_FinanceLeaseExpense" abstract="false" name="FinanceLeaseExpense" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnRevenueSix" abstract="false" name="OperationalMilestoneBasedOnRevenueSix" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_ConvertibleSeniorNotesMember" abstract="true" name="ConvertibleSeniorNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_ShanghaiChinaMember" abstract="true" name="ShanghaiChinaMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_StockIssuedDuringPeriodSharesEquityIncentiveAwards" abstract="false" name="StockIssuedDuringPeriodSharesEquityIncentiveAwards" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
<xs:element id="tsla_AutomotiveLeasingDirectSalesTypeMember" abstract="true" name="AutomotiveLeasingDirectSalesTypeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_NetInvestmentInSalesTypeLeasesTableTextBlock" abstract="false" name="NetInvestmentInSalesTypeLeasesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_PerformanceBasedRestrictedStockUnitsAndStockOptionsMember" abstract="true" name="PerformanceBasedRestrictedStockUnitsAndStockOptionsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_CommitmentsAndContingenciesTable" abstract="true" name="CommitmentsAndContingenciesTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
<xs:element id="tsla_AndrewBaglinoMember" abstract="true" name="AndrewBaglinoMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_LeaseAssetDirectCostsRelatedToAcquisition" abstract="false" name="LeaseAssetDirectCostsRelatedToAcquisition" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_RevenueDueToChangesInRegulation" abstract="false" name="RevenueDueToChangesInRegulation" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_TwoThousandAndNineteenEquityIncentivePlanMember" abstract="true" name="TwoThousandAndNineteenEquityIncentivePlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_EffectiveIncomeTaxRateReconciliationNontaxableManufacturingCreditAmount" abstract="false" name="EffectiveIncomeTaxRateReconciliationNontaxableManufacturingCreditAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_DirectLeaseTerm" abstract="false" name="DirectLeaseTerm" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
<xs:element id="tsla_RcfCreditAgreementMember" abstract="true" name="RcfCreditAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_DefinedContributionPlanPolicyTextBlock" abstract="false" name="DefinedContributionPlanPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_UndrawnAmountsInterestRateMember" abstract="true" name="UndrawnAmountsInterestRateMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_BuildToSuitLeaseArrangementMember" abstract="true" name="BuildToSuitLeaseArrangementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_GrantFundingAmountReceived" abstract="false" name="GrantFundingAmountReceived" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_TemporaryEquityContributionsToNoncontrollingInterests" abstract="false" name="TemporaryEquityContributionsToNoncontrollingInterests" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_StockIssuedDuringPeriodValueEquityIncentiveAwards" abstract="false" name="StockIssuedDuringPeriodValueEquityIncentiveAwards" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_LondonInterbankOfferedRateLIBOR1Member" abstract="true" name="LondonInterbankOfferedRateLIBOR1Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_SolarRenewableEnergyCreditsPolicyTextBlock" abstract="false" name="SolarRenewableEnergyCreditsPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
<xs:element id="tsla_OperationalMilestoneBasedOnAdjustedEBITDATwo" abstract="false" name="OperationalMilestoneBasedOnAdjustedEBITDATwo" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_CustomerDepositsLiabilitiesCurrent" abstract="false" name="CustomerDepositsLiabilitiesCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AutomotiveRevenuesMember" abstract="true" name="AutomotiveRevenuesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_ProceedsFromSalesOfDigitalAssets" abstract="false" name="ProceedsFromSalesOfDigitalAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_MyPowerMember" abstract="true" name="MyPowerMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
<xs:element id="tsla_NoncashInterestIncomeExpenseAndOtherOperatingActivities" abstract="false" name="NoncashInterestIncomeExpenseAndOtherOperatingActivities" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_AutomotiveLeaseBackedCreditFacilitiesMember" abstract="true" name="AutomotiveLeaseBackedCreditFacilitiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
<xs:element id="tsla_Effectiveincometaxratereconciliationunrecognizedtaxbenefits" abstract="false" name="Effectiveincometaxratereconciliationunrecognizedtaxbenefits" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
<xs:element id="tsla_SellingGeneralAndAdministrativeExpenseMember" abstract="true" name="SellingGeneralAndAdministrativeExpenseMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
</xs:schema>

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,34 @@
use std::env;
use std::fs;
use std::time::Instant;
use crabrl::Parser;
fn main() {
let args: Vec<String> = env::args().collect();
if args.len() != 2 {
eprintln!("Usage: {} <xbrl_file>", args[0]);
std::process::exit(1);
}
let filename = &args[1];
let content = fs::read_to_string(filename)
.expect("Failed to read file");
let parser = Parser::new();
let start = Instant::now();
match parser.parse(&content) {
Ok(document) => {
let elapsed = start.elapsed();
println!("Parsed in {:.3}ms: {} facts, {} contexts, {} units",
elapsed.as_secs_f64() * 1000.0,
document.facts.len(),
document.contexts.len(),
document.units.len());
}
Err(e) => {
eprintln!("Parse error: {}", e);
std::process::exit(1);
}
}
}

27
examples/parse.rs Normal file
View File

@@ -0,0 +1,27 @@
//! Basic parsing example
use crabrl::Parser;
use std::env;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let args: Vec<String> = env::args().collect();
if args.len() != 2 {
eprintln!("Usage: {} <xbrl-file>", args[0]);
std::process::exit(1);
}
let parser = Parser::new();
let doc = parser.parse_file(&args[1])?;
println!("Parsed {} successfully", args[1]);
println!(" Facts: {}", doc.facts.len());
println!(" Contexts: {}", doc.contexts.len());
println!(" Units: {}", doc.units.len());
// Show first 5 facts
for fact in doc.facts.iter().take(5) {
println!(" - {}: {}", fact.name, fact.value);
}
Ok(())
}

35
examples/validate.rs Normal file
View File

@@ -0,0 +1,35 @@
//! Validation example
use crabrl::{Parser, Validator};
use std::env;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let args: Vec<String> = env::args().collect();
if args.len() != 2 {
eprintln!("Usage: {} <xbrl-file>", args[0]);
std::process::exit(1);
}
// Parse
let parser = Parser::new();
let doc = parser.parse_file(&args[1])?;
// Validate
let validator = Validator::new();
let result = validator.validate(&doc)?;
if result.is_valid {
println!("✓ Document is valid");
} else {
println!("✗ Document has {} errors", result.errors.len());
for error in result.errors.iter().take(5) {
println!(" - {}", error);
}
}
println!("\nValidation stats:");
println!(" Facts validated: {}", result.stats.facts_validated);
println!(" Time: {}ms", result.stats.duration_ms);
Ok(())
}

View File

@@ -0,0 +1,151 @@
#!/usr/bin/env python3
"""
Download real SEC XBRL filings from various companies to use as test fixtures.
These will be used for benchmarking and testing the parser.
"""
import os
import time
import urllib.request
from pathlib import Path
# Create fixtures directory
fixtures_dir = Path("fixtures")
fixtures_dir.mkdir(exist_ok=True)
# List of real SEC XBRL filings from various companies
# Format: (company_name, ticker, description, url)
filings = [
# Apple filings
("apple", "AAPL", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/320193/000032019323000106/aapl-20230930_htm.xml"),
("apple", "AAPL", "10-K 2023 Labels",
"https://www.sec.gov/Archives/edgar/data/320193/000032019323000106/aapl-20230930_lab.xml"),
("apple", "AAPL", "10-K 2023 Calculation",
"https://www.sec.gov/Archives/edgar/data/320193/000032019323000106/aapl-20230930_cal.xml"),
# Microsoft filings
("microsoft", "MSFT", "10-Q 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/789019/000095017023064280/msft-20230930_htm.xml"),
("microsoft", "MSFT", "10-Q 2023 Labels",
"https://www.sec.gov/Archives/edgar/data/789019/000095017023064280/msft-20230930_lab.xml"),
("microsoft", "MSFT", "10-Q 2023 Presentation",
"https://www.sec.gov/Archives/edgar/data/789019/000095017023064280/msft-20230930_pre.xml"),
# Tesla filings
("tesla", "TSLA", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/1318605/000162828024002390/tsla-20231231_htm.xml"),
("tesla", "TSLA", "10-K 2023 Definition",
"https://www.sec.gov/Archives/edgar/data/1318605/000162828024002390/tsla-20231231_def.xml"),
# Amazon filings
("amazon", "AMZN", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/1018724/000101872424000006/amzn-20231231_htm.xml"),
("amazon", "AMZN", "10-K 2023 Labels",
"https://www.sec.gov/Archives/edgar/data/1018724/000101872424000006/amzn-20231231_lab.xml"),
# Google/Alphabet filings
("alphabet", "GOOGL", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/1652044/000165204424000022/goog-20231231_htm.xml"),
("alphabet", "GOOGL", "10-K 2023 Calculation",
"https://www.sec.gov/Archives/edgar/data/1652044/000165204424000022/goog-20231231_cal.xml"),
# JPMorgan Chase filings
("jpmorgan", "JPM", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/19617/000001961724000198/jpm-20231231_htm.xml"),
("jpmorgan", "JPM", "10-K 2023 Labels",
"https://www.sec.gov/Archives/edgar/data/19617/000001961724000198/jpm-20231231_lab.xml"),
# Walmart filings
("walmart", "WMT", "10-K 2024 Instance",
"https://www.sec.gov/Archives/edgar/data/104169/000010416924000012/wmt-20240131_htm.xml"),
("walmart", "WMT", "10-K 2024 Presentation",
"https://www.sec.gov/Archives/edgar/data/104169/000010416924000012/wmt-20240131_pre.xml"),
# Johnson & Johnson filings
("jnj", "JNJ", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/200406/000020040624000016/jnj-20231231_htm.xml"),
# ExxonMobil filings
("exxon", "XOM", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/34088/000003408824000013/xom-20231231_htm.xml"),
# Berkshire Hathaway filings
("berkshire", "BRK", "10-K 2023 Instance",
"https://www.sec.gov/Archives/edgar/data/1067983/000095017024021825/brka-20231231_htm.xml"),
]
def download_file(url, filepath):
"""Download a file from URL to filepath."""
try:
# Add headers to avoid being blocked
request = urllib.request.Request(
url,
headers={
'User-Agent': 'crabrl-test-fixtures/1.0 (testing@example.com)'
}
)
with urllib.request.urlopen(request) as response:
content = response.read()
with open(filepath, 'wb') as f:
f.write(content)
return True
except Exception as e:
print(f" Error: {e}")
return False
def main():
print("Downloading SEC XBRL fixtures from various companies...")
print("=" * 60)
downloaded = 0
failed = 0
for company, ticker, description, url in filings:
# Create company directory
company_dir = fixtures_dir / company
company_dir.mkdir(exist_ok=True)
# Generate filename from URL
filename = url.split('/')[-1]
filepath = company_dir / filename
print(f"\n[{ticker}] {description}")
print(f" URL: {url}")
print(f" Saving to: {filepath}")
if filepath.exists():
print(" ✓ Already exists, skipping")
continue
if download_file(url, filepath):
file_size = os.path.getsize(filepath)
print(f" ✓ Downloaded ({file_size:,} bytes)")
downloaded += 1
else:
print(f" ✗ Failed to download")
failed += 1
# Be polite to SEC servers
time.sleep(0.5)
print("\n" + "=" * 60)
print(f"Download complete: {downloaded} downloaded, {failed} failed")
print(f"Fixtures saved to: {fixtures_dir.absolute()}")
# Show directory structure
print("\nFixture structure:")
for company_dir in sorted(fixtures_dir.iterdir()):
if company_dir.is_dir():
files = list(company_dir.glob("*.xml"))
if files:
print(f" {company_dir.name}/")
for f in sorted(files)[:3]: # Show first 3 files
size = os.path.getsize(f)
print(f" - {f.name} ({size:,} bytes)")
if len(files) > 3:
print(f" ... and {len(files)-3} more files")
if __name__ == "__main__":
main()

159
src/main.rs Normal file
View File

@@ -0,0 +1,159 @@
//! crabrl CLI - High-performance XBRL parser and validator
use anyhow::{Context, Result};
use clap::{Parser as ClapParser, Subcommand};
use colored::*;
use std::path::PathBuf;
use std::time::Instant;
use crabrl::{Parser, Validator, ValidationConfig};
/// High-performance XBRL parser and validator
#[derive(ClapParser)]
#[command(name = "crabrl")]
#[command(author, version, about, long_about = None)]
struct Cli {
#[command(subcommand)]
command: Commands,
}
#[derive(Subcommand)]
enum Commands {
/// Parse an XBRL file
Parse {
/// Input file
input: PathBuf,
/// Output as JSON
#[arg(short, long)]
json: bool,
/// Show statistics
#[arg(short, long)]
stats: bool,
},
/// Validate an XBRL file
Validate {
/// Input file
input: PathBuf,
/// Validation profile (generic, sec-edgar)
#[arg(short, long, default_value = "generic")]
profile: String,
/// Treat warnings as errors
#[arg(long)]
strict: bool,
},
/// Benchmark parsing performance
Bench {
/// Input file
input: PathBuf,
/// Number of iterations
#[arg(short, long, default_value = "100")]
iterations: usize,
},
}
fn main() -> Result<()> {
let cli = Cli::parse();
match cli.command {
Commands::Parse { input, json: _, stats } => {
let start = Instant::now();
let parser = Parser::new();
let doc = parser.parse_file(&input)
.with_context(|| format!("Failed to parse {}", input.display()))?;
let elapsed = start.elapsed();
println!("{} {}", "".green().bold(), input.display());
println!(" Facts: {}", doc.facts.len());
println!(" Contexts: {}", doc.contexts.len());
println!(" Units: {}", doc.units.len());
if stats {
println!(" Time: {:.2}ms", elapsed.as_secs_f64() * 1000.0);
println!(" Throughput: {:.0} facts/sec",
doc.facts.len() as f64 / elapsed.as_secs_f64());
}
}
Commands::Validate { input, profile, strict } => {
let parser = Parser::new();
let doc = parser.parse_file(&input)
.with_context(|| format!("Failed to parse {}", input.display()))?;
let config = match profile.as_str() {
"sec-edgar" => ValidationConfig::sec_edgar(),
_ => ValidationConfig::default(),
};
let validator = Validator::with_config(config);
let result = validator.validate(&doc)?;
if result.is_valid {
println!("{} {} - Document is valid", "".green().bold(), input.display());
} else {
println!("{} {} - Validation failed", "".red().bold(), input.display());
println!(" Errors: {}", result.errors.len());
println!(" Warnings: {}", result.warnings.len());
for error in result.errors.iter().take(5) {
println!(" {} {}", "ERROR:".red(), error);
}
if result.errors.len() > 5 {
println!(" ... and {} more errors", result.errors.len() - 5);
}
if strict && !result.warnings.is_empty() {
std::process::exit(1);
}
if !result.is_valid {
std::process::exit(1);
}
}
}
Commands::Bench { input, iterations } => {
let parser = Parser::new();
// Warmup
for _ in 0..3 {
let _ = parser.parse_file(&input)?;
}
let mut times = Vec::with_capacity(iterations);
let mut doc_facts = 0;
for _ in 0..iterations {
let start = Instant::now();
let doc = parser.parse_file(&input)?;
times.push(start.elapsed());
doc_facts = doc.facts.len();
}
times.sort();
let min = times[0];
let max = times[times.len() - 1];
let median = times[times.len() / 2];
let mean = times.iter().sum::<std::time::Duration>() / times.len() as u32;
println!("Benchmark Results for {}", input.display());
println!(" Iterations: {}", iterations);
println!(" Facts: {}", doc_facts);
println!(" Min: {:.3}ms", min.as_secs_f64() * 1000.0);
println!(" Median: {:.3}ms", median.as_secs_f64() * 1000.0);
println!(" Mean: {:.3}ms", mean.as_secs_f64() * 1000.0);
println!(" Max: {:.3}ms", max.as_secs_f64() * 1000.0);
println!(" Throughput: {:.0} facts/sec",
doc_facts as f64 / mean.as_secs_f64());
}
}
Ok(())
}