--- title: Amortization Report emoji: ๐Ÿ“Š colorFrom: pink colorTo: purple sdk: gradio app_file: app.py pinned: false license: mit sdk_version: 5.29.1 --- # ๐Ÿ“Š Amortization Report This interactive app helps you generate a full amortization schedule for any loan. Simply enter your loan amount, interest rate, and loan period, and you'll get: - A detailed amortization table - A breakdown of interest and principal paid per year - A line chart showing remaining balance over time Built with Python, Gradio, NumPy Financial, Pandas, and Matplotlib โ€” and hosted on Hugging Face Spaces. --- ## ๐Ÿ”ข How It Works **Input Parameters:** - **Loan Amount (Principal)** โ€“ Total amount borrowed - **Annual Interest Rate (%)** โ€“ Input as a percentage (e.g., type `5` for 5%) - **Number of Periods (Years)** โ€“ Duration of the loan in years **Output:** - ๐Ÿ“‹ **Amortization Table** showing payment, interest, principal, and balance per year - ๐Ÿ“ˆ **Payment Breakdown Plot** comparing interest and principal over time - ๐Ÿ“‰ **Remaining Balance Chart** showing how your debt is paid off --- ## ๐Ÿงช Example Try entering the following: - Loan Amount (Principal): 100000 - Annual Interest Rate (%): 5.00 - Number of Periods (Years): 10 Youโ€™ll see how the loan amortizes โ€” how much you pay in interest and principal each year, and how the balance decreases over time. --- ## ๐Ÿ“ฆ Installation Clone the repo and install the required packages: ```bash git clone https://huggingface.co/spaces/ali-denewade/amortization-report cd amortization-report pip install -r requirements.txt