Student Loan Calculator
월간 학자금 대출 지급액, 총 이자, 상환 일정을 계산합니다.
이 도구 소개
학자금 대출 계산기는 빌린 금액뿐 아니라 교육비를 빌리는 데 드는 진짜 비용을 보여줍니다. 원금, 이자율, 상환 기간을 월 상환액과 총이자로 환산해, 대출이 실제로 얼마나 들고 상환에 얼마나 걸리는지 드러냅니다.
대출 금액, 연이자율, 상환 기간을 입력하면 월 상환액, 총 납부 이자, 그리고 완납까지의 일정을 확인할 수 있습니다. 여러 대출 조건을 비교하거나, 현실적인 예산을 세우거나, 추가 상환이 가치 있는지 판단할 때 유용합니다.
이자율의 작은 차이나 소액의 추가 월 상환만으로도 대출 기간 전체에 걸쳐 내는 총이자를 눈에 띄게 줄일 수 있습니다. 이 수치는 대출 제안이 아니라 계획을 위한 추정치이며, 모든 계산은 브라우저에서 로컬로 실행됩니다.
자주 묻는 질문
코드 구현
def calculate_student_loan(principal: float, annual_rate: float,
years: int) -> dict:
"""Calculate student loan monthly payment and total interest."""
monthly_rate = annual_rate / 100 / 12
n = years * 12
if monthly_rate == 0:
monthly_payment = principal / n
else:
monthly_payment = principal * (monthly_rate * (1 + monthly_rate) ** n) / ((1 + monthly_rate) ** n - 1)
total_payment = monthly_payment * n
total_interest = total_payment - principal
return {
"monthly_payment": round(monthly_payment, 2),
"total_payment": round(total_payment, 2),
"total_interest": round(total_interest, 2),
}
def amortization_schedule(principal: float, annual_rate: float, years: int):
"""Generate full amortization schedule."""
monthly_rate = annual_rate / 100 / 12
n = years * 12
payment = calculate_student_loan(principal, annual_rate, years)["monthly_payment"]
balance = principal
for month in range(1, n + 1):
interest = balance * monthly_rate
principal_part = payment - interest
balance -= principal_part
yield {
"month": month,
"payment": round(payment, 2),
"principal": round(principal_part, 2),
"interest": round(interest, 2),
"balance": round(max(balance, 0), 2),
}
# Example: $30,000 loan at 5.5% over 10 years
result = calculate_student_loan(30000, 5.5, 10)
print(f"Monthly Payment: ${result['monthly_payment']}")
print(f"Total Payment: ${result['total_payment']}")
print(f"Total Interest: ${result['total_interest']}")Comments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.