Fraction Calculator
บวก, ลบ, คูณ หรือ หารเศษส่วนสองตัว และทำผลลัพธ์ให้เรียบง่าย
ผลลัพธ์จะปรับปรุงเมื่อคุณพิมพ์
เกี่ยวกับเครื่องคิดเลขนี้
A fraction calculator performs arithmetic on two fractions — addition, subtraction, multiplication and division — and returns the answer reduced to its lowest terms, as a decimal, and as a mixed number. Enter the numerator and denominator of each fraction, choose an operation, and the tool handles the cross-multiplication and simplification for you, showing the working line by line.
For addition and subtraction the two fractions are first rewritten over a common denominator (the product of the two denominators), the numerators are combined, and the result is divided by the greatest common divisor to simplify. Multiplication multiplies the numerators and the denominators straight across; division multiplies the first fraction by the reciprocal of the second. For example, 1/2 + 1/3 becomes 3/6 + 2/6 = 5/6, while 1/2 × 3/4 = 3/8 and 1/2 ÷ 3/4 = 1/2 × 4/3 = 4/6 = 2/3.
Exact fraction arithmetic comes up in cooking and recipe scaling, measuring in inches, splitting a bill, probability, and any classroom exercise where a precise answer beats a rounded decimal. Because the result is also shown as a decimal and a mixed number, you can read it in whichever form your problem needs.
คำถามที่ถามบ่อย
ทำยังไงถึงจะบวกเศษสองส่วนได้
หาตัวเลขที่เหมือนกันของเศษส่วนทั้งสอง นำมารวมกัน แล้วทำการเรียบง่าย 1/2 + 1/3 จะได้ 3/6 + 2/6 = 5/6
คำตอบง่ายๆ ยังไง
ตัวเลขและตัวนับถูกหารด้วยตัวแบ่งส่วนที่ใหญ่ที่สุดของมัน (GCD) 6/ 8 มี GCD เท่ากับ2ดังนั้น มันจะลดลงเป็น 3/4
คุณแบ่งเศษส่วนได้ยังไง
คูณเศษส่วนแรกด้วยตัวคูณกลับ (การพลิก) ของเศษส่วนที่สอง 1/2 ÷ 3/4 = 1/2 × 4/3 = 4/6 = 2/3
คุณคูณเศษสองส่วนได้ยังไง
คูณตัวเลขรวมกัน และตัวเลขรวมกัน แล้วก็ทำง่ายๆ 2/3 x 3/4 = 6/12 ลดลงเป็น 1/2
คุณจะลบเศษส่วนที่มีตัวเลขแตกต่างกันออกไปได้ยังไง
วางมันไว้บนตัวเลขที่เหมือนกันก่อน แล้วคูณตัวเลขที่แตกต่างกันออกไป 3/4 - 1/6 = 9/12 - 2/12 = 7/12
ทำไมคำตอบบางครั้งก็แสดงเป็นตัวเลขผสมกัน
เมื่อผลลัพธ์เป็นตัวเลขที่หนักมาก (เศษส่วนที่ไม่ถูกต้อง) มันจะถูกเขียนเป็นตัวเลขจำนวนเต็มรวมกับเศษส่วนที่ถูกต้อง เช่น 5/4จะกลายเป็น 1 1/4
เกิดอะไรขึ้นถ้าผมใส่ตัวเลขศูนย์ลงไป
การหารด้วยศูนย์ ยังไม่ได้กำหนด ดังนั้น โปรแกรมคำนวณจะคืนค่าเป็นตัวเลขที่แสดงด้วยตัวเลขย่อ ทุกตัวเลขที่คุณป้อนจะต้องเป็นตัวเลขที่ไม่ใช่ศูนย์
API - ใช้เครื่องคิดเลขนี้จากโค้ด
เรียกเครื่องคิดเลขนี้เป็นจุดจบ JSON แบบฟรี - ไม่จำเป็นต้องใช้กุญแจ ส่งค่าในช่องด้านล่างนี้เป็นพารามิเตอร์คำถามหรือ JSON ทุกอย่างที่คุณลบออก จะใช้ค่าปริยายที่หน้านี้ใช้อยู่ พารามิเตอร์ที่ไม่รู้จักคือ 400 และไม่เคยเป็นศูนย์ที่เงียบ อ่านเอกสาร API ทั้งหมด →
จุดสิ้นสุด
GET https://calculator.free/api/v1/fraction/
curl
curl "https://calculator.free/api/v1/fraction/?a_num=1&a_den=2&op=add&b_num=1&b_den=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/fraction/?" + new URLSearchParams({
"a_num": "1",
"a_den": "2",
"op": "add",
"b_num": "1",
"b_den": "3"
}));
const data = await r.json();
console.log(data.results);
ผลลัพธ์เป็นเพียงการประมาณการ สำหรับคำแนะนำทั่วไปเท่านั้น ไม่ใช่การเงิน การรักษา หรือคำแนะนำเกี่ยวกับภาษี