| pi | 원주율 | math.pi | 3.1415926535898 |
| abs | 절댓값 | math.abs(-2012) | 2012 |
| ceil | 올림 | math.ceil(9.1) | 10 |
| floor | 내림 | math.floor(9.9) | 9 |
| max | 인수의 최댓값 | math.max(2,4,6,8) | 8 |
| min | 인수의 최솟값 | math.min(2,4,6,8) | 2 |
| x^y | x의 y제곱 계산(Lua 5.3부터 math.pow가 제거되어 ^ 연산자 사용) | 2^16 | 65536.0 |
| sqrt | 제곱근 | math.sqrt(65536) | 256.0 |
| modf | 정수 부분과 소수 부분 가져오기 | math.modf(20.12) | 20 0.12 |
| randomseed | 난수 시드 설정 | math.randomseed(os.time()) | |
| random | 난수 가져오기 | math.random(5,90) | 5~90 |
| rad | 각도를 라디안으로 변환 | math.rad(180) | 3.1415926535898 |
| deg | 라디안을 각도로 변환 | math.deg(math.pi) | 180.0 |
| exp | e의 x제곱 | math.exp(4) | 54.598150033144 |
| log | x의 자연로그 계산 | math.log(54.598150033144) | 4.0 |
| log (밑 지정) | 지정한 밑의 로그 계산(Lua 5.3부터 math.log10이 제거되어 math.log(x, 10) 사용) | math.log(1000, 10) | 3.0 |
| frexp | 인수를 x * (2 ^ y) 형식으로 분해 | math.frexp(160) | 0.625 8 |
| ldexp | x * (2 ^ y) 계산 | math.ldexp(0.625,8) | 160.0 |
| sin | 사인 | math.sin(math.rad(30)) | 0.5 |
| cos | 코사인 | math.cos(math.rad(60)) | 0.5 |
| tan | 탄젠트 | math.tan(math.rad(45)) | 1.0 |
| asin | 아크사인 | math.deg(math.asin(0.5)) | 30.0 |
| acos | 아크코사인 | math.deg(math.acos(0.5)) | 60.0 |
| atan | 아크탄젠트 | math.deg(math.atan(1)) | 45.0 |