Prerequisites come from official course pages checked October 30, 2026. The self-check problems and scoring rule are our own, written for this guide; they are not an official placement test. Our editorial method

What popular courses say you need

Prerequisites rise quickly from beginner to university level. Read the requirement on the course page itself, because the course title rarely tells you.

CourseMath statedCoding statedLevel and length on the page
Google Data Analytics Professional Certificate (Coursera)No prior experience requiredNo prior experience requiredBeginner; 9 courses, about 6 months at 10 hours a week
Practical Deep Learning for Coders (fast.ai)High school math is sufficient; no university math neededYou need to know how to code; a year of experience is enoughFree course
Machine Learning Specialization (Stanford Online and DeepLearning.AI, Coursera)High-school-level math such as arithmetic and algebra; other concepts explained along the wayBasic coding: for loops, functions, if/elseBeginner; 3 courses, about 2 months at 10 hours a week
Mathematics for Machine Learning and Data Science Specialization (DeepLearning.AI, Coursera)High school math: functions and basic algebraBasic to intermediate PythonIntermediate; 3 courses, 12 weeks at about 5 hours a week
Deep Learning Specialization (DeepLearning.AI, Coursera)Basic linear algebra: matrix-vector operations and notationIntermediate Python, including control flow, lists and dictionariesIntermediate; 5 courses, about 3 months at 10 hours a week
CS229 Machine Learning (Stanford)Probability (CS109 or MATH151 level); multivariable calculus and linear algebra (MATH51 or CS205L level)Able to write a non-trivial program in Python with NumPyUniversity course

Self-check: algebra and functions

Work without a calculator or search. Answers follow each problem; cover them first.

  • Solve 3x - 7 = 11. Answer: x = 6.
  • If f(x) = 2x squared - 3x, what is f(4)? Answer: 2 times 16 minus 12 = 20.
  • What is log base 2 of 32? Answer: 5, because 2 to the power 5 is 32.
  • What is the slope of the line through (1, 3) and (4, 9)? Answer: (9 - 3) / (4 - 1) = 2.

Self-check: statistics and probability

  • For the values 2, 4, 4, 5, 10, give the mean and the median. Answer: mean 25 / 5 = 5; median 4.
  • Why is the mean larger than the median in that list? Answer: the single high value, 10, pulls the mean up; the median ignores how extreme it is.
  • You flip a fair coin twice. What is the probability of two heads? Answer: 0.5 times 0.5 = 0.25.
  • A test is right 90 percent of the time. Does a positive result mean a 90 percent chance the condition is present? Answer: no; that also depends on how common the condition is (the base rate), which is the idea behind Bayes' theorem.

Self-check: linear algebra and calculus

  • Dot product of (1, 2, 3) and (4, -1, 2). Answer: 4 - 2 + 6 = 8.
  • Multiply the matrix with rows (1, 2) and (3, 4) by the vector (1, 1). Answer: (3, 7).
  • A 3 by 2 matrix times a 2 by 4 matrix gives what shape? Answer: 3 by 4.
  • Derivative of x cubed. Answer: 3x squared.
  • Derivative of (2x + 1) squared. Answer: 4(2x + 1), using the chain rule.
  • Partial derivative of x squared times y with respect to x. Answer: 2xy.
  • Gradient descent: f(x) = (x - 3) squared, start at x = 5, learning rate 0.1. What is x after one step? Answer: the derivative is 2(5 - 3) = 4, so x becomes 5 - 0.1 times 4 = 4.6.

Free and low-cost refreshers by area

Khan Academy describes itself as a 501(c)(3) nonprofit with a mission to provide a free, world-class education to anyone, anywhere, and lists over 840 courses; it suits short algebra and statistics refreshers. MIT OpenCourseWare publishes materials from over 2,500 MIT courses with no account required, under a Creative Commons BY-NC-SA 4.0 licence, but MIT does not offer credit or certificates to OCW users.

If you want one structured, paid course across three areas, Coursera's Mathematics for Machine Learning and Data Science Specialization covers linear algebra (34 hours), calculus (27 hours) and probability and statistics (33 hours). Its page lists a $49 monthly Coursera subscription and notes that financial aid is available.

AreaFree optionWhat it includesPaid structured option
Algebra and functionsKhan AcademyFree nonprofit platform; search for the specific topic you missedNot usually needed
Statistics and probabilityMIT OCW 18.05 Introduction to Probability and Statistics (Spring 2022)Lecture notes, problem sets and exams with solutions, plus an R section with tutorials and sample codeProbability and Statistics course in the DeepLearning.AI math specialization
Linear algebraMIT OCW 18.06SC Linear Algebra (Gilbert Strang)Lecture videos, problem-solving videos, problem sets and exams with solutionsLinear Algebra course in the same specialization
CalculusMIT OCW 18.01SC Single Variable CalculusLecture videos, problem-solving videos, problem sets and exams with solutionsCalculus course in the same specialization

Scoring the self-check and fitting a refresher into your plan

Scoring rule (our suggestion): in each area, if you got everything right, you are ready for courses at that level. If you missed one, review that topic for a few days. If you missed two or more, spend one to three weeks on a refresher before starting a course that lists that area as a prerequisite. Courses that state only high school math need the algebra set; deep learning and university courses need all three sets.

  • Do the self-check before paying for any course; it takes under an hour.
  • Refresh only the areas where you missed two or more problems, then redo that set a few days later with new numbers.
  • Start a beginner course in parallel if it needs only high school math; many explain extra concepts as they go, as the Machine Learning Specialization says it does.
  • Before a deep learning or university-level course, make sure you can multiply a matrix by a vector and take a derivative with the chain rule without notes.
  • Use OCW problem sets with solutions for practice; MIT OCW offers no grading or certificate, so check yourself against the posted solutions.

Questions before you decide

Do I need calculus for a beginner machine learning course?

Not for the introductory courses we checked. fast.ai says high school math is sufficient, and Coursera's Machine Learning Specialization asks for high-school-level math such as arithmetic and algebra. Stanford's CS229 expects multivariable calculus and linear algebra.

What linear algebra do I need for deep learning?

DeepLearning.AI's Deep Learning Specialization recommends basic linear algebra, specifically matrix-vector operations and notation, plus intermediate Python. If you can multiply a matrix by a vector and know what shapes multiply, you meet that bar.

Are MIT OpenCourseWare math courses free?

Yes. MIT OCW says it is a free and open collection of material from thousands of MIT courses with no account required. Courses such as 18.06SC Linear Algebra include problem sets and exams with solutions, but MIT gives no credit or certificate.

How long is the Mathematics for Machine Learning and Data Science Specialization?

Coursera lists it at 12 weeks at about 5 hours a week, across three courses: linear algebra (34 hours), calculus (27 hours) and probability and statistics (33 hours). It recommends high school math and basic to intermediate Python.

Sources & verification

Product details and prices can change. Check the linked provider before buying.

  1. Stanford CS229: Machine Learning course page Accessed 30 Oct 2026
  2. Coursera: Machine Learning Specialization Accessed 30 Oct 2026
  3. Coursera: Mathematics for Machine Learning and Data Science Specialization Accessed 30 Oct 2026
  4. Coursera: Deep Learning Specialization Accessed 30 Oct 2026
  5. Coursera: Google Data Analytics Professional Certificate Accessed 30 Oct 2026
  6. fast.ai: Practical Deep Learning for Coders Accessed 30 Oct 2026
  7. Khan Academy: About Accessed 30 Oct 2026
  8. MIT OpenCourseWare: About OCW Accessed 30 Oct 2026
  9. MIT OpenCourseWare: 18.06SC Linear Algebra Accessed 30 Oct 2026
  10. MIT OpenCourseWare: 18.05 Introduction to Probability and Statistics Accessed 30 Oct 2026
  11. MIT OpenCourseWare: 18.01SC Single Variable Calculus Accessed 30 Oct 2026

Sources link directly to providers. Product buttons may use separately labeled affiliate links. Read our disclosure.

Your decision at a glance

Compare the options

Full comparison

Documentation-based guidance. No tested ranking or performance score.

Learning subscription

Coursera Plus

Consider it for
Consider Coursera Plus when several included programs fit a realistic study calendar. Compare a single course for a narrow skill, and check whether an existing subscription already covers the work.
Starting cost
Regular US monthly $59 (7-day free trial) or annual $399 upfront with a 14-day money-back guarantee; promotions vary, so confirm at checkout.
Before you choose
Degrees and MasterTrack programs are excluded; some courses are not included. Certificates are not employment outcomes. Check inclusion and the current checkout.

Checked 29 Oct 2026 · Pricing source

View Coursera Plus plans

Direct provider link; no affiliate tracking added by this publication. Link disclosure

Coding courses

Educative

Consider it for
Text-based coding instruction with browser practice. Inspect the exact course and plan before subscribing.
Starting cost
Confirm checkout total, billing term and renewal price for the selected plan.
Before you choose
Educative granted us free review access. This is documentation research; we have not completed or tested a course. Confirm inclusion, renewal and cancellation conditions before paying.

Checked 21 Sep 2026 · Pricing source

View Educative plans

Affiliate link: we may earn a commission on an eligible purchase. Link disclosure

Free courses with paid certificates

Alison

Consider it for
Free CPD-accredited online courses with optional certificate or diploma purchases.
Starting cost
Courses free; certificate/diploma purchase optional — confirm checkout
Before you choose
We have not completed an Alison course. Paid certificates are optional; confirm the recipient accepts the credential before paying.

Checked 17 Sep 2026 · Pricing source

View Alison plans

Affiliate link: we may earn a commission on an eligible purchase. Link disclosure