Welcome back to SageMathCloud™!

Loading ...

Create account (or sign in)

Use your email address

Not working? Email us at help@sagemath.com immediately!

SageMathCloud™ collaborative computational mathematics

SageMath, IPython, LaTeX, and terminals in your browser

SMC is run by SageMath, Inc., and receives grant funding from the National Science Foundation (awards 1161226, 1147802, 1020378 1015114) and Google.
Loading billing information...
Loading upgrades information...

SageMath, Python, LaTeX, and terminals in your browser




Getting started with SageMathCloud


Navigate to https://cloud.sagemath.com. If you're already signed in, first sign out by clicking on your email address by the icon in the upper right, and clicking "Sign out". Click on "create an account", then agree to the terms of usage. Next either enter your name, email address, and password for the new account you would like to create, or login using your Google, Github, Facebook, etc., account. You may change your name, email address or password at any time later, and also reset your password in case you forget it.

Technical Notes

  • Please use a strong password or login via Google, Github or another provider, especially when you start using the SageMathCloud frequently.
  • Only the hash of your password is stored by the server, which uses 1000 iterations of a sha-512 hash function, with a salt length of 32. This makes it more difficult for a hacker to brute-force your password, even if they have the database of password hashes, since every guess takes much more work to make.


Log into https://cloud.sagemath.com, then click in the upper right corner on your email address by the icon. Change your first or last name in the settings tab that appears, then click save.

To change your password, click the "Change password" link, enter your old password, then enter a new password.

To change the email account that is linked to your SageMathCloud account, click on the "change" link next to your email address, type in the password (to your SageMathCloud account), then enter a new email address.

Technical Notes

  • Changing your first or last name at any time is pretty harmless, since it only changes the name other people see when collaborating with you on projects.
  • The primary purpose of providing an email address is that you can use it to reset your password when you forget it.
To easily copy our collection of examples into a project, just click "+New", paste in this link
and click "From Web". In a few seconds you'll find a directory
in your project, full of examples.

Technical Notes

  • The collection of examples is a Github repository, which we regularly update. In a terminal in the sage-cloud-templates directory, you can type
    git pull
    to get the latest changes and examples (you may have to type "git commit -a" first, if you have made changes). You can also see what's new in the Github repository.
William Stein (lead developer of SageMathCloud) gave the following one-hour talk in March 2015 at the UW eScience Institute:


$\LaTeX$ is a system for creating professional quality documents, with excellent support for typesetting mathematical formulas like $J_\alpha(x) = \sum\limits_{m=0}^\infty \frac{(-1)^m}{m! \, \Gamma(m + \alpha + 1)}{\left({\frac{x}{2}}\right)}^{2 m + \alpha}$. There are two main ways to use latex in the SageMathCloud:

  1. In chats or in worksheet cells that start with %html or %md, enclose mathematical formulas in single or double dollar signs and they will be typeset (using MathJax) when you submit them. In addition to dollar signs, you can use the other standard latex equation wrappers \­[ \] and \­( \). In worksheets, if f is some object, you can type show(f) to see f nicely typeset using the latex generated by latex(f). In a worksheet, type typeset_mode(True) to show the nicely typeset version of objects by default. You may also use MathJax in Markdown cells in Jupyter notebooks.

  2. You can edit a full LaTeX document by creating or uploading a file with an extension of .tex, then opening it. The tex file appears on the left, and there is a preview of the compiled version on the right, which is updated whenever you save the file (ctrl+s). By clicking , you can split the tex editor so that you can see two parts of the file at once. You can also use inverse and forward search to easily move back and forth between the tex file and the preview. In addition the preview, there is an error and warning log with buttons to jump to the corresponding issue in the tex file or preview. There's also a button to show or download the final high-quality PDF. In addition, you can see the output of running pdflatex, bibtex, and use SageTex (which should "just work"), make any of those programs re-run, and customize the latex build command. If necessary, you can do extremely sophisticated processing of tex files in a Terminal ( New --> Terminal).


In a project, click New then the "Sage" button. In the worksheet that appears, type

%default_mode r
then press shift+enter. For the reset of the worksheet, type normal R commands, followed by shift+enter. Plotting should just work as usual in R. See these example worksheets.


In a project, click New then the "Jupyter" button, or just open an ipynb file. The notebook will be opened using Jupyter's html-based client, with support for embedded graphics. To support the collaborative nature of the SageMathCloud, we've enhanced the Jupyter notebook with realtime sync, so if you open the same notebook on multiple computers (or if multiple people open the same notebook), they will stay in sync. Also, if you want to use the Sage preparser, type %load_ext sage into a notebook cell.

Technical Notes

  • You can also run a normal version of the Jupyter notebook server (no sync, not integrated into cloud) by (1) finding your project's id in project settings, then (2) visiting https://cloud.sagemath.com/[project_id]/port/jupyter (you will possibly have to refresh your browser if this takes too long the first time). Any collaborator on your project can securely use the Jupyter notebook server by visiting this link, but nobody else can.

   Your browser doesn't support embedded PDF's, but you can download ...


Typesetting Issues

Other Warnings

Latex Bibtex Sage



Done    Deleted
Empty Trash
Showing 0 tasks.

Loading task list...

Only showing tasks that contain . Showing deleted tasks. Showing completed tasks.
Custom Order
Due / Done
Any changes you make to revisions displayed below will be discarded.


Loading 3D scene... Evaluate to see 3d plot. canvas