ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.2 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://fortune.com/education/articles/free-online-computer-science-courses/ |
| Last Crawled | 2026-04-03 06:44:43 (7 days ago) |
| First Indexed | 2024-10-11 09:03:35 (1 year ago) |
| HTTP Status Code | 200 |
| Meta Title | 6 universities offering free online computer science courses | Fortune Education |
| Meta Description | Harvard, MIT, and others allow you to learn Ivy League tech fundamentals for free online. |
| Meta Canonical | null |
| Boilerpipe Text | It’s a good time to be interested in
computer science
. Over the next decade, the country is expected to open up hundreds of thousands of new jobs as software developers,
data scientists
, and software engineers.
Landing one of these coveted roles can not only grant you lifelong job security but also a career that pays well over $100k. In fact, computer and information research scientists earn median pay of $145,080 per year, according to the
U.S. Bureau of Labor Statistics
.Â
Advertisement
Berkeley's Data Science Master's
Master Key Skills in Data Mining, Machine Learning, Research Design & More
The online Master of Information and Data Science (MIDS) program is preparing the next generation of experts and leaders in the data science field and providing students with a UC Berkeley education without having to relocate. Students graduate with connections to UC Berkeley’s extensive alumni network in the Bay Area and across the world. All international applicants will be required to submit official Test of English as a Foreign Language (TOEFL) scores.
Learn More
GRE Required
No
Part Time
Yes
However, becoming an experienced tech expert does not happen overnight, and many individuals have
master’s degrees in computer science
or a related field.
For those early in their career—or are thinking about transitioning into tech—it can be best to start exploring the subject before committing to a degree program. The good news is that many top universities offer online, introductory computer science courses—for free. Here are some of the best offerings to get started in computer science.
Institution
Course
Commitment
Carnegie Mellon University
Principles of Computation with Python
10 modules
Harvard University
Computer Science for Business Professionals
12–36 hours
MIT
Introduction to Computer Science and Programming Using Python
4–6 months (26 lectures available)
Princeton University
Programming with a Purpose
88 hours
Stanford University
Computer Science 101
24–26 hours
Vanderbilt University
Introduction to Programming with MATLAB
35 hours
[EDIT.MOBILE_TITLE]
Carnegie Mellon University
Course
Principles of Computation with Python
Commitment
10 modules
Harvard University
Course
Computer Science for Business Professionals
Commitment
12–36 hours
MIT
Course
Introduction to Computer Science and Programming Using Python
Commitment
4–6 months (26 lectures available)
Princeton University
Course
Programming with a Purpose
Commitment
88 hours
Stanford University
Course
Computer Science 101
Commitment
24–26 hours
Vanderbilt University
Course
Introduction to Programming with MATLAB
Commitment
35 hours
6 universities offering free, online computer science foundations
Carnegie Mellon University: Principles of Computation with Python
Touted as a top university for its tech-related programs,
Carnegie Mellon University
offers an intro course on one of the more widely used programming languages, Python.
Principles of Computation with Python
is offered through the school’s Open Learning Initiative. While the course teaches users about
programming in Python
, it’s also targeted at a general audience to learn more about computer science and to “show students that there is much more to computer science than learning to write code,” according to Carnegie Mellon. The course is broken down into 10 modules that gradually get more technical. Areas of focus include data structures, encryption, and cellular automata.
Carnegie Mellon also offers free and open courses to learn about computer hardware and software as well as how to program in
Java
.
Harvard University: Computer Science for Business Professionals
This widely popular course hosted by Harvard University is designed for managers, product managers, and other business professionals. The six-week long course teaches participants about computational thinking, programming languages, web development, and cloud computing, among other subjects.Â
Computer Science for Business Professionals
, also known as CS50, is self-paced and requires about two-to-six hours of study per week. Taught by David J. Malan, a computer science professor at Harvard University, CS50 is also Harvard’s largest online course and has been completed by
more than 2 million people
. And former YouTube CEO Susan D.
Wojcicki even said
, “CS50 changed my life.”
The course is hosted through edX, and while the content is free, payment is required to receive the certificate. CS50’s Introduction to Programming with Scratch and CS50’s Introduction to Artificial Intelligence with Python are
related offerings
you may also want to check out.
MIT: Introduction to Computer Science and Programming Using Python
Massachusetts Institute of Technology (MIT) offers free access to thousands of courses, including many related to computer science, through its OpenCourseWare. While the platform does have many arguably outdated offerings, the fall 2022 edition of the MIT class
Introduction to Computer Science and Programming Using Python
, is available and is targeted to those with no programming experience. Twenty-six lectures can be accessed, including topics like iteration, Lambda functions, and plotting. Lecture notes, problem sets, programming assistants, and recitation notes are also available for viewing. Going through all the material may take you several months.
Learn more:
What’s the
difference between coding and programming
?
Princeton University: Programming with a Purpose
The
Programming with a Purpose course
at Princeton believes learning computer science is as important as reading and writing. “Learning to program is an essential part of the education of every student, not just in the sciences and engineering, but in the arts, social sciences, and humanities, as well,” the description says. Professor Robert Sedgewick and Kevin Wayne walk students through the basics of programming. While it is taught in Java, the goal is to teach the skills application in a variety of modern computing environments.
The 88-hour program is offered for free, but you may need to make an account with Coursera.
Stanford University: Computer Science 101
Stanford University, located in the heart of Silicon Valley, hosts a self-paced introductory course
Computer Science 101
to teach the fundamentals of the field to users with no prior experience. The course starts with a general background on computers, software, hardware, and internet, and also allows participants to begin to learn the basics of coding.Â
The course takes six weeks to complete at about four-to-six hours per week. It’s taught by one of Stanford’s senior computer science lecturers Nick Parlante whose lectures and other videos appear widely on YouTube.
Vanderbilt University: Introduction to Programming with MATLAB
Vanderbilt University, which is ranked No. 5 on
Fortune
’s list of the
best in-person master’s in computer science
, offers an
Introduction to Programming with MATLAB
course. The course is targeted to users with little to no programming experience and teaches participants how to program in MATLAB, a programming language. This language is often used by scientists and engineers to solve matrices and linear algebra, but it’s “easy to learn,” and “versatile,” according to Vanderbilt.Â
The course takes about 35 hours to complete and is the first course in Vanderbilt’s free online MATLAB Programming for Engineers and Scientists Specialization, which includes two other courses.Â
Frequently asked questions
Can I study computer science for free?
Yes, there are countless ways to study computer science for free.
freeCodeCamp
is one designation many people start, but many universities and organizations offer free computer science programming. Another popular way to learn is by watching tutorial videos on YouTube.
Can I self-learn computer science?
Yes, many tech experts learn the basics of computer science on their own. There are hundreds, if not thousands, of free programs, videos, and assignments you can engage with to learn the foundations of computer science.
Learn more:
Check out our guide to
how to learn to code
and
advice for beginners
.
Can I get a Harvard certificate for free?
No, while you can conduct Harvard coursework for free— including the popular CS50—payment is required to get the certification. Exact costs may vary, but a CS50 certification generally costs $299.
Are Harvard CS courses free?
Yes, Harvard does offer computer science courses online for free, including the popular CS50. However, in order to get a certification, you will have to pay. |
| Markdown | Search
[Subscribe for \$1Subscribe for \$1](https://fortune.com/subscribe/?itm_source=Site_0_HCL_NAV_CTA_0_2025_ZZ&redirect=%2Feducation%2Farticles%2Ffree-online-computer-science-courses%2F)
[Sign in](https://fortune.com/signin/?signin_redirect=%2Feducation%2Farticles%2Ffree-online-computer-science-courses%2F)
- [Home](https://fortune.com/)
- [Latest](https://fortune.com/section/latest/)
- [Fortune 500](https://fortune.com/section/fortune-500/)
- [Finance](https://fortune.com/section/finance/)
- [Tech](https://fortune.com/section/tech/)
- [Leadership](https://fortune.com/section/leadership/)
- [Lifestyle](https://fortune.com/section/lifestyle/)
- [Rankings](https://fortune.com/ranking/)
- [Multimedia](https://fortune.com/education/articles/free-online-computer-science-courses/)
We have independently evaluated the products and services below. We may earn affiliate revenue from links in the content.
Learn More.
[education](https://fortune.com/education/)
[Education Articles](https://fortune.com/education/articles/)
Learn the basics of computer science for free: 6 universities with online courses
# 6 universities, including Harvard, offering free online computer science courses
By
[Preston Fore](https://fortune.com/author/preston-fore/)
Preston Fore
,
[Sydney Lake](https://fortune.com/author/sydney-lake/)
Sydney Lake
, and
[Jasmine Suarez](https://fortune.com/author/jasmine-suarez/)
Jasmine Suarez
By
[Preston Fore](https://fortune.com/author/preston-fore/)
Preston Fore
,
[Sydney Lake](https://fortune.com/author/sydney-lake/)
Sydney Lake
, and
[Jasmine Suarez](https://fortune.com/author/jasmine-suarez/)
Jasmine Suarez
September 28, 2022, 1:54 PM ET
Updated October 23, 2024, 4:28 PM ET
Add us on

Getting started in computer science can be tricky, but many top universities offer free online courses.Getty Images
It’s a good time to be interested in [computer science](https://fortune.com/education/information-technology/best-in-person-masters-in-computer-science/). Over the next decade, the country is expected to open up hundreds of thousands of new jobs as software developers, [data scientists](https://fortune.com/education/careers/how-to-become-a-data-scientist/), and software engineers.
Landing one of these coveted roles can not only grant you lifelong job security but also a career that pays well over \$100k. In fact, computer and information research scientists earn median pay of \$145,080 per year, according to the [U.S. Bureau of Labor Statistics](https://www.bls.gov/ooh/computer-and-information-technology/computer-and-information-research-scientists.htm#:~:text=in%20May%202021.-,Job%20Outlook,on%20average%2C%20over%20the%20decade.).
Advertisement
Berkeley's Data Science Master's Master Key Skills in Data Mining, Machine Learning, Research Design & More
The online Master of Information and Data Science (MIDS) program is preparing the next generation of experts and leaders in the data science field and providing students with a UC Berkeley education without having to relocate. Students graduate with connections to UC Berkeley’s extensive alumni network in the Bay Area and across the world. All international applicants will be required to submit official Test of English as a Foreign Language (TOEFL) scores.
Read More
[Learn More](https://info.ischoolonline.berkeley.edu/requestinfo/mids/)

[Learn More](https://info.ischoolonline.berkeley.edu/requestinfo/mids/)
- GRE RequiredNo
- Part TimeYes
However, becoming an experienced tech expert does not happen overnight, and many individuals have [master’s degrees in computer science](https://fortune.com/education/information-technology/best-online-masters-in-computer-science/) or a related field.
For those early in their career—or are thinking about transitioning into tech—it can be best to start exploring the subject before committing to a degree program. The good news is that many top universities offer online, introductory computer science courses—for free. Here are some of the best offerings to get started in computer science.
| Institution | Course | Commitment |
|---|---|---|
| Carnegie Mellon University | Principles of Computation with Python | 10 modules |
| Harvard University | Computer Science for Business Professionals | 12–36 hours |
| MIT | Introduction to Computer Science and Programming Using Python | 4–6 months (26 lectures available) |
| Princeton University | Programming with a Purpose | 88 hours |
| Stanford University | Computer Science 101 | 24–26 hours |
| Vanderbilt University | Introduction to Programming with MATLAB | 35 hours |
\[EDIT.MOBILE\_TITLE\]
| Carnegie Mellon University | |
|---|---|
| Course | Principles of Computation with Python |
| Commitment | 10 modules |
| Harvard University | |
| Course | Computer Science for Business Professionals |
| Commitment | 12–36 hours |
| MIT | |
| Course | Introduction to Computer Science and Programming Using Python |
| Commitment | 4–6 months (26 lectures available) |
| Princeton University | |
| Course | Programming with a Purpose |
| Commitment | 88 hours |
| Stanford University | |
| Course | Computer Science 101 |
| Commitment | 24–26 hours |
| Vanderbilt University | |
| Course | Introduction to Programming with MATLAB |
| Commitment | 35 hours |
## 6 universities offering free, online computer science foundations
### Carnegie Mellon University: Principles of Computation with Python
Touted as a top university for its tech-related programs, [Carnegie Mellon University](https://fortune.com/education/information-technology/carnegie-mellon-university/) offers an intro course on one of the more widely used programming languages, Python. [Principles of Computation with Python](https://oli.cmu.edu/courses/principles-of-computation-with-python-open-free/) is offered through the school’s Open Learning Initiative. While the course teaches users about [programming in Python](https://fortune.com/education/articles/python-courses/), it’s also targeted at a general audience to learn more about computer science and to “show students that there is much more to computer science than learning to write code,” according to Carnegie Mellon. The course is broken down into 10 modules that gradually get more technical. Areas of focus include data structures, encryption, and cellular automata.
Carnegie Mellon also offers free and open courses to learn about computer hardware and software as well as how to program in [Java](https://fortune.com/education/articles/java-bootcamps/).
### Harvard University: Computer Science for Business Professionals
This widely popular course hosted by Harvard University is designed for managers, product managers, and other business professionals. The six-week long course teaches participants about computational thinking, programming languages, web development, and cloud computing, among other subjects.
[Computer Science for Business Professionals](https://pll.harvard.edu/course/cs50s-computer-science-business-professionals-0?delta=0), also known as CS50, is self-paced and requires about two-to-six hours of study per week. Taught by David J. Malan, a computer science professor at Harvard University, CS50 is also Harvard’s largest online course and has been completed by [more than 2 million people](https://medium.com/codex/harvards-most-popular-course-is-free-online-283301b6c531). And former YouTube CEO Susan D. [Wojcicki even said](https://www.thecrimson.com/article/2014/9/18/this-is-cs50/), “CS50 changed my life.”
The course is hosted through edX, and while the content is free, payment is required to receive the certificate. CS50’s Introduction to Programming with Scratch and CS50’s Introduction to Artificial Intelligence with Python are [related offerings](https://pll.harvard.edu/catalog?keywords=cs50) you may also want to check out.
### MIT: Introduction to Computer Science and Programming Using Python
Massachusetts Institute of Technology (MIT) offers free access to thousands of courses, including many related to computer science, through its OpenCourseWare. While the platform does have many arguably outdated offerings, the fall 2022 edition of the MIT class [Introduction to Computer Science and Programming Using Python](https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/), is available and is targeted to those with no programming experience. Twenty-six lectures can be accessed, including topics like iteration, Lambda functions, and plotting. Lecture notes, problem sets, programming assistants, and recitation notes are also available for viewing. Going through all the material may take you several months.
**Learn more:** What’s the [difference between coding and programming](https://fortune.com/education/articles/coding-vs-programming/)?
### Princeton University: Programming with a Purpose
The [Programming with a Purpose course](https://www.coursera.org/learn/cs-programming-java?aid=true) at Princeton believes learning computer science is as important as reading and writing. “Learning to program is an essential part of the education of every student, not just in the sciences and engineering, but in the arts, social sciences, and humanities, as well,” the description says. Professor Robert Sedgewick and Kevin Wayne walk students through the basics of programming. While it is taught in Java, the goal is to teach the skills application in a variety of modern computing environments.
The 88-hour program is offered for free, but you may need to make an account with Coursera.
### Stanford University: Computer Science 101
Stanford University, located in the heart of Silicon Valley, hosts a self-paced introductory course [Computer Science 101](https://online.stanford.edu/courses/soe-ycscs101-computer-science-101) to teach the fundamentals of the field to users with no prior experience. The course starts with a general background on computers, software, hardware, and internet, and also allows participants to begin to learn the basics of coding.
The course takes six weeks to complete at about four-to-six hours per week. It’s taught by one of Stanford’s senior computer science lecturers Nick Parlante whose lectures and other videos appear widely on YouTube.
### Vanderbilt University: Introduction to Programming with MATLAB
Vanderbilt University, which is ranked No. 5 on *Fortune*’s list of the [best in-person master’s in computer science](https://fortune.com/education/information-technology/best-in-person-masters-in-computer-science/), offers an [Introduction to Programming with MATLAB](https://www.coursera.org/learn/matlab) course. The course is targeted to users with little to no programming experience and teaches participants how to program in MATLAB, a programming language. This language is often used by scientists and engineers to solve matrices and linear algebra, but it’s “easy to learn,” and “versatile,” according to Vanderbilt.
The course takes about 35 hours to complete and is the first course in Vanderbilt’s free online MATLAB Programming for Engineers and Scientists Specialization, which includes two other courses.
***
## Frequently asked questions
### Can I study computer science for free?
Yes, there are countless ways to study computer science for free. [freeCodeCamp](https://www.freecodecamp.org/) is one designation many people start, but many universities and organizations offer free computer science programming. Another popular way to learn is by watching tutorial videos on YouTube.
### Can I self-learn computer science?
Yes, many tech experts learn the basics of computer science on their own. There are hundreds, if not thousands, of free programs, videos, and assignments you can engage with to learn the foundations of computer science.
**Learn more:** Check out our guide to [how to learn to code](https://fortune.com/education/articles/how-to-learn-coding/) and [advice for beginners](https://fortune.com/education/articles/coding-for-beginners/).
### Can I get a Harvard certificate for free?
No, while you can conduct Harvard coursework for free— including the popular CS50—payment is required to get the certification. Exact costs may vary, but a CS50 certification generally costs \$299.
### Are Harvard CS courses free?
Yes, Harvard does offer computer science courses online for free, including the popular CS50. However, in order to get a certification, you will have to pay.
### Read more
Achieve your goal of becoming an expert in data science by choosing from our list of the [best masters in data science](https://fortune.com/education/information-technology/best-masters-in-data-science/) programs.
Our ranking of the [best online data scientist masters programs](https://fortune.com/education/information-technology/best-online-masters-in-data-science/) can help you find the program that best fits your schedule.
Getting a masters degree doesn’t have to break the bank. Here’s our list of the [most affordable data science masters degree programs](https://fortune.com/education/information-technology/most-affordable-masters-in-data-science/).
Regardless of how you scored on the GRE, you can still find an [online data science masters program](https://fortune.com/education/information-technology/best-online-masters-in-data-science/no-gre-required/).
Choose from our list of the [best online masters in computer science programs](https://fortune.com/education/information-technology/best-online-masters-in-computer-science/) to help you make your next career move.
Advertisement
Full-Stack Web Development CertificateStart your coding career today
Get comprehensive career training in web development and software engineering. Life is unpredictable, so we're flexible: attend in-person or online, full-time or part-time, with access to class recordings after each session.
Read More
[Visit Website](https://www.nobledesktop.com/certificates/full-stack-development/?utm_source=fortune&utm_medium=referral&utm_campaign=%5Bdynamic%5Dpost-id%5B/dynamic%5D)

[Visit Website](https://www.nobledesktop.com/certificates/full-stack-development/?utm_source=fortune&utm_medium=referral&utm_campaign=%5Bdynamic%5Dpost-id%5B/dynamic%5D)
About the Contributors
[](https://fortune.com/author/preston-fore/)
By [Preston Fore](https://fortune.com/author/preston-fore/)Success Reporter
Preston Fore is a reporter on *Fortune*'s Success team.
[See full bio](https://fortune.com/author/preston-fore/)
[](https://fortune.com/author/sydney-lake/)
By [Sydney Lake](https://fortune.com/author/sydney-lake/)Associate Editor
Sydney Lake is an associate editor at *Fortune*, where she writes and edits news for the publication's global news desk.
[See full bio](https://fortune.com/author/sydney-lake/)
[](https://fortune.com/author/jasmine-suarez/)
Reviewed By [Jasmine Suarez](https://fortune.com/author/jasmine-suarez/)
Senior Staff Editor
Jasmine Suarez was a senior editor at Fortune where she leads coverage for careers, education and finance. In the past, she’s worked for Business Insider, Adweek, Red Ventures, McGraw-Hill, Pearson, and more.
[See full bio](https://fortune.com/author/jasmine-suarez/)
Top Articles
***
[](https://fortune.com/education/articles/real-estate-school-review-aceableagent/?itm_source=parsely-api)
[2024 real estate school review: AceableAgent](https://fortune.com/education/articles/real-estate-school-review-aceableagent/?itm_source=parsely-api)
By [Fortune Editors](https://fortune.com/author/fortune-editors/)June 24, 2024
[](https://fortune.com/education/articles/free-data-analytics-courses/?itm_source=parsely-api)
[10 free data analytics courses you can take online](https://fortune.com/education/articles/free-data-analytics-courses/?itm_source=parsely-api)
By [Fortune Editors](https://fortune.com/author/fortune-editors/)April 18, 2024
[](https://fortune.com/education/articles/best-exec-mba-programs-news/?itm_source=parsely-api)
[Northwestern, Columbia, and UPenn have the best EMBA programs in the country. Here's why](https://fortune.com/education/articles/best-exec-mba-programs-news/?itm_source=parsely-api)
By [Fortune Editors](https://fortune.com/author/fortune-editors/)July 22, 2024
Advertisement
Syracuse University's Online M.S. in Computer ScienceEarn a Master of Science in Computer Science Online in as few as 15 Months
Syracuse University's College of Engineering and Computer Science offers an online M.S. in Computer Science focusing on subjects crucial to understanding emerging systems.
Read More
[Learn More](https://info.onlinegrad.syracuse.edu/requestinfo/mscs/)

[Learn More](https://info.onlinegrad.syracuse.edu/requestinfo/mscs/)
Rankings
- [100 Best Companies](https://fortune.com/ranking/best-companies/)
- [Fortune 500](https://fortune.com/ranking/fortune500/)
- [Global 500](https://fortune.com/ranking/global500/)
- [Fortune 500 Europe](https://fortune.com/europe/ranking/fortune500-europe/)
- [Most Powerful Women](https://fortune.com/ranking/most-powerful-women/)
- [Future 50](https://fortune.com/ranking/future-50/)
- [World’s Most Admired Companies](https://fortune.com/ranking/worlds-most-admired-companies/)
- [See All Rankings](https://fortune.com/ranking/)
Sections
- [Finance](https://fortune.com/section/finance/)
- [Fortune Crypto](https://fortune.com/section/crypto/)
- [Features](https://fortune.com/section/features/)
- [Leadership](https://fortune.com/section/leadership/)
- [Health](https://fortune.com/section/health/)
- [Commentary](https://fortune.com/section/commentary/)
- [Success](https://fortune.com/section/success/)
- [Retail](https://fortune.com/section/retail/)
- [Mpw](https://fortune.com/section/mpw/)
- [Tech](https://fortune.com/section/tech/)
- [Lifestyle](https://fortune.com/section/lifestyle/)
- [CEO Initiative](https://conferences.fortune.com/event/the-fortune-ceo-initiative-2026/home)
- [Asia](https://fortune.com/section/asia/)
- [Politics](https://fortune.com/section/politics/)
- [Conferences](https://fortune.com/section/conferences/)
- [Europe](https://fortune.com/section/europe/)
- [Newsletters](https://fortune.com/section/newsletters/)
- [Personal Finance](https://fortune.com/section/personal-finance/)
- [Environment](https://fortune.com/section/environment/)
- [Magazine](https://fortune.com/section/magazine/)
- [Education](https://fortune.com/education/)
Customer Support
- [Frequently Asked Questions](https://fortunecustomerservice.zendesk.com/hc/en-us)
- [Customer Service Portal](https://fortunecustomerservice.zendesk.com/hc/en-us)
- [Privacy Policy](https://fortune.com/privacy-policy/)
- [Terms Of Use](https://fortune.com/terms-of-use/)
- [Single Issues For Purchase](https://order.emags.com/fortune_single_issues)
- [International Print](https://fortune.com/international-print-magazine-only-subscribers/)
Commercial Services
- [Advertising](https://fortune.com/advertising/)
- [Fortune Brand Studio](https://fortune.com/brandstudio/fbs/portfolio/)
- [Fortune Analytics](https://fortune.com/analytics)
- [Fortune Conferences](https://fortune.com/conferences)
- [Business Development](https://fortune.com/business-development/)
- [Group Subscriptions](https://fortune.com/group-subscriptions/)
About Us
- [About Us](https://fortune.com/about-us/)
- [Editorial Calendar](https://fortune.com/editorial-calendar/)
- [Press Center](https://fortune.com/press-center/)
- [Work At Fortune](https://fortune.wd108.myworkdayjobs.com/en-US/Fortune)
- [Diversity And Inclusion](https://fortune.com/workplace/diversity-inclusion)
- [Terms And Conditions](https://fortune.com/terms-of-use/)
- [Site Map](https://fortune.com/sitemap/)
Rankings
Sections
Customer Support
Commercial Services
- [About Us](https://fortune.com/about-us/)
- [Editorial Calendar](https://fortune.com/editorial-calendar/)
- [Press Center](https://fortune.com/press-center/)
- [Work At Fortune](https://fortune.wd108.myworkdayjobs.com/en-US/Fortune)
- [Diversity And Inclusion](https://fortune.com/workplace/diversity-inclusion)
- [Terms And Conditions](https://fortune.com/terms-of-use/)
- [Site Map](https://fortune.com/sitemap/)
© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our [Terms of Use](https://fortune.com/terms-of-use/) and [Privacy Policy](https://fortune.com/privacy-policy/) \| [CA Notice at Collection and Privacy Notice](https://fortune.com/california-privacy-policy/#notice) \| [Do Not Sell/Share My Personal Information]()
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.
[search by queryly](https://www.queryly.com/)
[Advanced Search]()
 |
| Readable Markdown | It’s a good time to be interested in [computer science](https://fortune.com/education/information-technology/best-in-person-masters-in-computer-science/). Over the next decade, the country is expected to open up hundreds of thousands of new jobs as software developers, [data scientists](https://fortune.com/education/careers/how-to-become-a-data-scientist/), and software engineers.
Landing one of these coveted roles can not only grant you lifelong job security but also a career that pays well over \$100k. In fact, computer and information research scientists earn median pay of \$145,080 per year, according to the [U.S. Bureau of Labor Statistics](https://www.bls.gov/ooh/computer-and-information-technology/computer-and-information-research-scientists.htm#:~:text=in%20May%202021.-,Job%20Outlook,on%20average%2C%20over%20the%20decade.).
Advertisement
Berkeley's Data Science Master's Master Key Skills in Data Mining, Machine Learning, Research Design & More
The online Master of Information and Data Science (MIDS) program is preparing the next generation of experts and leaders in the data science field and providing students with a UC Berkeley education without having to relocate. Students graduate with connections to UC Berkeley’s extensive alumni network in the Bay Area and across the world. All international applicants will be required to submit official Test of English as a Foreign Language (TOEFL) scores.
[Learn More](https://info.ischoolonline.berkeley.edu/requestinfo/mids/)
- GRE RequiredNo
- Part TimeYes
However, becoming an experienced tech expert does not happen overnight, and many individuals have [master’s degrees in computer science](https://fortune.com/education/information-technology/best-online-masters-in-computer-science/) or a related field.
For those early in their career—or are thinking about transitioning into tech—it can be best to start exploring the subject before committing to a degree program. The good news is that many top universities offer online, introductory computer science courses—for free. Here are some of the best offerings to get started in computer science.
| Institution | Course | Commitment |
|---|---|---|
| Carnegie Mellon University | Principles of Computation with Python | 10 modules |
| Harvard University | Computer Science for Business Professionals | 12–36 hours |
| MIT | Introduction to Computer Science and Programming Using Python | 4–6 months (26 lectures available) |
| Princeton University | Programming with a Purpose | 88 hours |
| Stanford University | Computer Science 101 | 24–26 hours |
| Vanderbilt University | Introduction to Programming with MATLAB | 35 hours |
\[EDIT.MOBILE\_TITLE\]
| Carnegie Mellon University | |
|---|---|
| Course | Principles of Computation with Python |
| Commitment | 10 modules |
| Harvard University | |
| Course | Computer Science for Business Professionals |
| Commitment | 12–36 hours |
| MIT | |
| Course | Introduction to Computer Science and Programming Using Python |
| Commitment | 4–6 months (26 lectures available) |
| Princeton University | |
| Course | Programming with a Purpose |
| Commitment | 88 hours |
| Stanford University | |
| Course | Computer Science 101 |
| Commitment | 24–26 hours |
| Vanderbilt University | |
| Course | Introduction to Programming with MATLAB |
| Commitment | 35 hours |
## 6 universities offering free, online computer science foundations
### Carnegie Mellon University: Principles of Computation with Python
Touted as a top university for its tech-related programs, [Carnegie Mellon University](https://fortune.com/education/information-technology/carnegie-mellon-university/) offers an intro course on one of the more widely used programming languages, Python. [Principles of Computation with Python](https://oli.cmu.edu/courses/principles-of-computation-with-python-open-free/) is offered through the school’s Open Learning Initiative. While the course teaches users about [programming in Python](https://fortune.com/education/articles/python-courses/), it’s also targeted at a general audience to learn more about computer science and to “show students that there is much more to computer science than learning to write code,” according to Carnegie Mellon. The course is broken down into 10 modules that gradually get more technical. Areas of focus include data structures, encryption, and cellular automata.
Carnegie Mellon also offers free and open courses to learn about computer hardware and software as well as how to program in [Java](https://fortune.com/education/articles/java-bootcamps/).
### Harvard University: Computer Science for Business Professionals
This widely popular course hosted by Harvard University is designed for managers, product managers, and other business professionals. The six-week long course teaches participants about computational thinking, programming languages, web development, and cloud computing, among other subjects.
[Computer Science for Business Professionals](https://pll.harvard.edu/course/cs50s-computer-science-business-professionals-0?delta=0), also known as CS50, is self-paced and requires about two-to-six hours of study per week. Taught by David J. Malan, a computer science professor at Harvard University, CS50 is also Harvard’s largest online course and has been completed by [more than 2 million people](https://medium.com/codex/harvards-most-popular-course-is-free-online-283301b6c531). And former YouTube CEO Susan D. [Wojcicki even said](https://www.thecrimson.com/article/2014/9/18/this-is-cs50/), “CS50 changed my life.”
The course is hosted through edX, and while the content is free, payment is required to receive the certificate. CS50’s Introduction to Programming with Scratch and CS50’s Introduction to Artificial Intelligence with Python are [related offerings](https://pll.harvard.edu/catalog?keywords=cs50) you may also want to check out.
### MIT: Introduction to Computer Science and Programming Using Python
Massachusetts Institute of Technology (MIT) offers free access to thousands of courses, including many related to computer science, through its OpenCourseWare. While the platform does have many arguably outdated offerings, the fall 2022 edition of the MIT class [Introduction to Computer Science and Programming Using Python](https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/), is available and is targeted to those with no programming experience. Twenty-six lectures can be accessed, including topics like iteration, Lambda functions, and plotting. Lecture notes, problem sets, programming assistants, and recitation notes are also available for viewing. Going through all the material may take you several months.
**Learn more:** What’s the [difference between coding and programming](https://fortune.com/education/articles/coding-vs-programming/)?
### Princeton University: Programming with a Purpose
The [Programming with a Purpose course](https://www.coursera.org/learn/cs-programming-java?aid=true) at Princeton believes learning computer science is as important as reading and writing. “Learning to program is an essential part of the education of every student, not just in the sciences and engineering, but in the arts, social sciences, and humanities, as well,” the description says. Professor Robert Sedgewick and Kevin Wayne walk students through the basics of programming. While it is taught in Java, the goal is to teach the skills application in a variety of modern computing environments.
The 88-hour program is offered for free, but you may need to make an account with Coursera.
### Stanford University: Computer Science 101
Stanford University, located in the heart of Silicon Valley, hosts a self-paced introductory course [Computer Science 101](https://online.stanford.edu/courses/soe-ycscs101-computer-science-101) to teach the fundamentals of the field to users with no prior experience. The course starts with a general background on computers, software, hardware, and internet, and also allows participants to begin to learn the basics of coding.
The course takes six weeks to complete at about four-to-six hours per week. It’s taught by one of Stanford’s senior computer science lecturers Nick Parlante whose lectures and other videos appear widely on YouTube.
### Vanderbilt University: Introduction to Programming with MATLAB
Vanderbilt University, which is ranked No. 5 on *Fortune*’s list of the [best in-person master’s in computer science](https://fortune.com/education/information-technology/best-in-person-masters-in-computer-science/), offers an [Introduction to Programming with MATLAB](https://www.coursera.org/learn/matlab) course. The course is targeted to users with little to no programming experience and teaches participants how to program in MATLAB, a programming language. This language is often used by scientists and engineers to solve matrices and linear algebra, but it’s “easy to learn,” and “versatile,” according to Vanderbilt.
The course takes about 35 hours to complete and is the first course in Vanderbilt’s free online MATLAB Programming for Engineers and Scientists Specialization, which includes two other courses.
***
## Frequently asked questions
### Can I study computer science for free?
Yes, there are countless ways to study computer science for free. [freeCodeCamp](https://www.freecodecamp.org/) is one designation many people start, but many universities and organizations offer free computer science programming. Another popular way to learn is by watching tutorial videos on YouTube.
### Can I self-learn computer science?
Yes, many tech experts learn the basics of computer science on their own. There are hundreds, if not thousands, of free programs, videos, and assignments you can engage with to learn the foundations of computer science.
**Learn more:** Check out our guide to [how to learn to code](https://fortune.com/education/articles/how-to-learn-coding/) and [advice for beginners](https://fortune.com/education/articles/coding-for-beginners/).
### Can I get a Harvard certificate for free?
No, while you can conduct Harvard coursework for free— including the popular CS50—payment is required to get the certification. Exact costs may vary, but a CS50 certification generally costs \$299.
### Are Harvard CS courses free?
Yes, Harvard does offer computer science courses online for free, including the popular CS50. However, in order to get a certification, you will have to pay. |
| Shard | 79 (laksa) |
| Root Hash | 13809836321913650279 |
| Unparsed URL | com,fortune!/education/articles/free-online-computer-science-courses/ s443 |