CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
JupyterJuliaLaTeXLinuxOctavePythonR StatsSageMathSlidesTeachingTerminalWhiteboardX11ComputeAI AssistantCompareAPI
CoCalc Logo Icon
JupyterJuliaLaTeXLinuxOctavePythonR StatsSageMathSlidesTeachingTerminalWhiteboardX11ComputeAI AssistantCompareAPI
[object Object] logo

Use SageMath Online

Using Sage in a Worksheet

The goal of SageMath is to create a viable free open source alternative to Magma, Maple, Mathematica and Matlab by building on top of many existing open-source packages, including NumPy, SciPy, matplotlib, SymPy, Maxima, GAP, FLINT, and R.

Start using SageMath on TestCalc

  1. Start by signing up for a free TestCalc account.
  2. Read the getting started guide to orient yourself and create your first project.
After creating your first project, go ahead and create

Benefits of SageMath on TestCalc

  • You no longer have to install and maintain SageMath, which can be challenging since Sage is large. When you're teaching a class, students just have to sign in to CoCalc to get started!
  • You can easily build Sage from source and run it on extremely powerful computers for only a few cents.
  • You can still easily run older versions of Sage since many are all preinstalled in every CoCalc project.
  • All your files are private, stored persistently, snapshotted and backed up; moreover, you can rsync them to your computer or push them to GitHub.
  • You can invite collaborators to your project to simultaneously edit the same notebooks or code files.
  • Everything runs remotely, which means you do not have to worry about messing up your own computer.
Start free today. Upgrade later.

Feature Overview

There are many ways to use SageMath online via CoCalc.

SageMath Worksheets

Using SageMath in a Worksheet
CoCalc's SageMath Worksheets are a single document experience that can be more friendly than the Jupyter notebook "multiple cells" approach.
They are a great way to teach SageMath, since you can easily include text, code, and output in a single document.

SageMath in LaTeX\LaTeX documents

Using SageMath in a LaTeX document
You can also embed SageMath code in your LaTeX\LaTeX documents.
This means you no longer have to manually copy and paste output from SageMath worksheets into your LaTeX documents.
Learn more about SageTeX and how to use it in CoCalc.

SageMath in Jupyter Notebooks

Using SageMath in a Jupyter Notebook
You can also use SageMath in Jupyter Notebooks.
This is a great way to teach SageMath, since you can easily include text, code, and output in a single document.

Teach using SageMath and Nbgrader

A screenshot using nbgrader with SageMath.
We provide custom Python templates for all the nbgrader cell types.
Tests run in the student's project by default, so malicious code won't impact anybody except the student.

Snapshot backups

Browsing filesystem snapshots in a CoCalc project
Snapshots are consistent read-only views of all your files in a CoCalc project. You can restore your files by copying back any that you accidentally deleted or corrupted.
Start free today. Upgrade later.