If you're seeing this message, it means we're having trouble loading external resources for Khan Academy.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Skip to main content
Subjects
  • Math by subject
    • Early math
    • Arithmetic
    • Algebra
    • Geometry
    • Trigonometry
    • Probability & statistics
    • Calculus
    • Differential equations
    • Linear algebra
    • Math for fun and glory
  • Math by grade
    • K–2nd
    • 3rd
    • 4th
    • 5th
    • 6th
    • 7th
    • 8th
  • Science & engineering
    • Physics
    • Chemistry
    • Organic Chemistry
    • Biology
    • Health & medicine
    • Electrical engineering
  • Computing
    • Computer programming
    • Computer science
    • Hour of Code
    • Computer animation
  • Arts & humanities
    • Art history
    • Grammar
    • Music
    • US history
    • World history
  • Economics & finance
    • Microeconomics
    • Macroeconomics
    • Finance & capital markets
    • Entrepreneurship
  • Test prep
    • SAT
    • MCAT
    • GMAT
    • IIT JEE
    • NCLEX-RN
    • CAHSEE
    • AP* Art History
DonateSign in / Sign up
Search for subjects, skills, and videos
Main content
Computing

Computer science

Learn select topics from computer science - algorithms (how we solve common problems in computer science and measure the efficiency of our solutions), cryptography (how we protect secret information), and information theory (how we encode and compress information).
My Projects Help Requests
Project Evaluations Community Questions
Did you know? You can learn how to program on Khan Academy and create your own programs. Go to our computer programming subject to get started.

Algorithms

We've partnered with Dartmouth college professors Tom Cormen and Devin Balkcom to teach introductory computer science algorithms, including searching, sorting, recursion, and graph theory. Learn with a combination of articles, visualizations, quizzes, and coding challenges.

Journey into cryptography

How have humans protected their secret messages through history? What has changed today?

Journey into information theory

We've always been communicating.... as we moved from signal fires, to alphabets & electricity the problems remained the same.

Internet 101

Thanks to our partners at Code.org, you can learn how the internet works - everything from WiFi and IP addresses to cybersecurity and crime.