คณิตศาสตร์
ทันที เป็นส่วนตัว และฟรี
Modulo Calculator.
Calculate a remainder and compare signed remainder with mathematical non-negative modulo.
เครื่องคิดเลขนี้ยังแปลไม่ครบถ้วน — ข้อความบางส่วนแสดงเป็นภาษาอังกฤษ
ใส่ค่าของคุณ
ผลลัพธ์อัปเดตขณะที่คุณพิมพ์
วิธีใช้งาน
Enter a dividend and a non-zero divisor. Results update as you type.
JavaScript remainder (%) truncates the quotient toward zero and follows the dividend's sign.
Mathematical modulo is always between 0 (inclusive) and the absolute divisor (exclusive), including for negative inputs.
คำถามที่พบบ่อย
What is the difference between remainder and modulo?
A signed remainder follows the dividend's sign, while mathematical modulo is normalized to a non-negative value below the absolute divisor.
Can the divisor be negative?
Yes. The signed remainder follows JavaScript's operator semantics, while mathematical modulo uses the absolute divisor for its non-negative range.