**Introduction:** Calculating grades in a class is a fundamental aspect of education, providing students with insights into their performance. This calculator simplifies the process, allowing users to input total and obtained marks to determine the percentage and corresponding grade.

**Formula:** The percentage is calculated by dividing the obtained marks by the total marks and multiplying by 100. The grade is then determined based on predefined grade ranges.

**How to Use:**

- Enter the total marks in the “Total Marks” field.
- Enter the obtained marks in the “Obtained Marks” field.
- Click the “Calculate” button to get the percentage and grade.

**Example:** Suppose the total marks are 100 and the obtained marks are 85. Enter “100” in the total marks field and “85” in the obtained marks field. Click “Calculate” to get the percentage and grade.

**FAQs:**

**Q: Can I enter decimal values for total and obtained marks?**A: No, the calculator only accepts whole numbers for total and obtained marks.**Q: What grading scale does the calculator use?**A: The calculator uses a standard grading scale with A for 90-100%, B for 80-89%, C for 70-79%, D for 60-69%, and F for below 60%.**Q: Can I use negative values for total and obtained marks?**A: No, both total and obtained marks must be positive integers.**Q: Is there a limit to the number of decimal places in the percentage result?**A: The percentage result is displayed with two decimal places for clarity.**Q: What if I enter obtained marks greater than the total marks?**A: The calculator will provide an error message, as obtained marks cannot exceed total marks.

**Conclusion:** This calculator serves as a valuable tool for students to quickly assess their performance in a class, providing a percentage and corresponding grade. Use it to gain insights into your academic achievements and make informed decisions about your studies.