The remainder( Command

Command Summary

Same as modulus - divides a number, but returns the remainder.

Command Syntax


Menu Location


  1. MATH to enter the Math menu
  2. Use arrows to go to the NUM menu
  3. 0 to choose remainder(, or use arrows

Calculator Compatibility

TI-84+SE with TI-OS 2.53 MP

Token Size

2 byte

The remainder( function divides the first number given by the second number, and returns the remainder similar to the modulus. This command is only available if you have the TI-84+ Silver Edition and the new 2.53 MP operating system on your calculator. This command can be used both on the Home screen and when programming.

See the code segment below for an example:


This returns a value of 2 because 30 divided by 7 has a remainder of 2.


As said earlier this command only works on a TI-84+ Silver Edition with the 2.53 MP OS, so this will not work on earlier OSes. To avoid non-portability, use the following code.


instead of


fPart is a command that works in more OSes and more models.
They also are the same size (5 bytes), as long as B is one byte

Error Conditions

  • ERR:DIVIDE BY 0 occurs if you try to input 0 as the divisor.
  • ERR:DOMAIN occurs if the divisor or dividend is either negative or less than 0
  • ERR:SYNTAX occurs if the divisor or dividend is a symbol, or character or non-real number
  • ERR:DATA TYPE occurs if the divisor or dividend is not a number, (i.e. text)

Related Commands


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License