Skip to content

RAJU-2005/SmartSIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ Smart SIP Calculator

Plan your investments based on your age and goals โ€” free, instant, and beautifully designed.

A fully client-side, production-ready Systematic Investment Plan (SIP) Calculator website built with pure HTML, CSS, and JavaScript. No backend. No build step. No sign-up. Just open and invest smarter.


๐ŸŒ Live Demo

Deploy this yourself in under 60 seconds โ†’ Deployment Guide


โœจ Features

๐Ÿ‘ฅ Age-Based Dual Flow

Feature Under 18 ๐ŸŒฑ 18 & Above ๐Ÿ’ผ
Simplified UI โœ… โ€”
Advanced UI โ€” โœ…
Step-up SIP โ€” โœ…
Inflation Adjustment โ€” โœ…
Compounding Frequency โ€” โœ…
SIP vs Savings Comparison โ€” โœ…
Friendly Explanations โœ… โ€”
Age-specific Tips โœ… โœ…

๐Ÿ“Š Visualizations

  • Line Chart โ€” Growth curve over time (invested vs maturity)
  • Bar Chart โ€” Year-wise breakdown (Under 18 mode)
  • Donut Chart โ€” Invested vs Returns portfolio split
  • Chart type toggle โ€” Switch between line and bar views

๐Ÿงฎ Calculator Features

  • Real-time calculations on every input change
  • Standard SIP formula: FV = P ร— [((1+r)^n โˆ’ 1) / r] ร— (1+r)
  • Step-up SIP โ€” Annual SIP increase percentage
  • Inflation adjustment โ€” Real purchasing power calculation
  • Compounding frequency โ€” Monthly / Quarterly / Half-yearly / Yearly
  • Wealth multiplier โ€” How many times your money grew
  • Monthly SIP to โ‚น1 Crore โ€” Reverse calculation

๐ŸŽฏ Goal-Based SIP Planner

Pre-built financial goals with required monthly SIP calculation:

  • ๐Ÿ  Own a Home โ€” โ‚น50 Lakh target
  • ๐Ÿš— Dream Car โ€” โ‚น8 Lakh target
  • ๐ŸŽ“ Education Fund โ€” โ‚น25 Lakh target
  • ๐ŸŒด Retirement Corpus โ€” โ‚น1 Crore target

๐ŸŽจ UI/UX

  • ๐ŸŒ™ Dark mode toggle โ€” Full light/dark theme
  • ๐Ÿ“ฑ Fully responsive โ€” Mobile, tablet, and desktop
  • โšก Smooth animations โ€” Fade-up reveals, number flip transitions
  • ๐Ÿ’ฌ Tooltips โ€” Plain-English explanation on every technical term
  • ๐ŸŽจ Clean card-based layout โ€” Rounded corners, subtle shadows
  • ๐Ÿ”ค Premium typography โ€” Fraunces (display) + Plus Jakarta Sans (body)

๐Ÿ—‚๏ธ Project Structure

SIP_Calculator/
โ”‚
โ”œโ”€โ”€ index.html          # โ† Entire app (single file, self-contained)
โ””โ”€โ”€ README.md           # โ† This file

Everything lives in index.html โ€” styles, scripts, and markup are all bundled together. No dependencies to install, no build pipeline needed.


๐Ÿงฎ Formula Reference

Standard SIP Future Value

FV = P ร— [((1 + r)^n โˆ’ 1) / r] ร— (1 + r)
Variable Meaning
P Monthly investment amount (โ‚น)
r Monthly interest rate = Annual rate รท 12 รท 100
n Total number of months = Years ร— 12
FV Future / Maturity value

Step-up SIP

SIP amount increases by a fixed % at the start of each year:

For each year y (1 to Y):
  P_y = P ร— (1 + stepup/100)^(y-1)
  Maturity compounds monthly within each year

Reverse Goal Calculation (Monthly SIP needed)

P = Target ร— r / [((1 + r)^n โˆ’ 1) ร— (1 + r)]

Inflation-Adjusted Real Value

Real Value = FV / (1 + inflation_rate/100)^years

๐Ÿš€ Deployment

Option 1 โ€” Netlify Drop (Fastest, ~30 seconds)

  1. Go to netlify.com/drop
  2. Drag and drop index.html onto the page
  3. Your site is live instantly with a free *.netlify.app URL

Option 2 โ€” GitHub Pages

  1. Push this repo to GitHub
  2. Go to Settings โ†’ Pages
  3. Set Source to main branch, / (root)
  4. Click Save โ€” live at https://yourusername.github.io/repo-name

Option 3 โ€” Vercel

# Install Vercel CLI (one-time)
npm install -g vercel

# Deploy from project folder
cd smart-sip-calculator
vercel

# Follow prompts โ€” live in ~30 seconds

Option 4 โ€” Cloudflare Pages

  1. Go to pages.cloudflare.com
  2. Create a new project โ†’ Upload index.html
  3. Free custom domain available

Option 5 โ€” Any Static Host

Just upload index.html to any web server, S3 bucket, or CDN. That's it.


๐Ÿ› ๏ธ Tech Stack

Layer Technology
Markup HTML5
Styling CSS3 (custom properties, flexbox, grid)
Logic Vanilla JavaScript (ES6+)
Charts Chart.js v4.4.1 via CDN
Fonts Google Fonts โ€” Fraunces + Plus Jakarta Sans
Build tool None โ€” zero build step
Dependencies None โ€” no npm, no node_modules

๐Ÿ’ป Run Locally

No server needed. Just open the file:

# Clone the repo
git clone https://github.com/yourusername/SIP_Calculator.git

# Open in browser (any of these work)
cd SIP_Calculator
open index.html                    # macOS
start index.html                   # Windows
xdg-open index.html                # Linux

Or drag index.html directly into your browser tab.

Optional: Use a local server for best results

# Python (usually pre-installed)
python -m http.server 8080
# Then open http://localhost:8080

๐ŸŽจ Customization

All design tokens are CSS variables at the top of index.html:

:root {
  --blue:    #3b5bdb;   /* Primary accent โ€” change to your brand color */
  --green:   #0ca678;   /* Returns / positive values color */
  --bg:      #f0f4ff;   /* Page background */
  --card:    #ffffff;   /* Card background */
  --r2:      24px;      /* Border radius for cards */
}

To change the default SIP amount, rate, or duration โ€” find the <input type="range"> elements and update their value attributes.


๐Ÿ—บ๏ธ Roadmap / Possible Enhancements

  • Export results as PDF / image
  • Share results via URL (query params)
  • Lumpsum + SIP combined calculator
  • XIRR calculator
  • Tax saving (ELSS / 80C) module
  • Multiple SIP portfolio tracker
  • PWA support (offline usage)
  • Hindi / regional language support

โš ๏ธ Disclaimer

This calculator is for educational and informational purposes only. It does not constitute financial advice. Mutual fund returns are subject to market risk. Past performance is not a guarantee of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.


๐Ÿ“„ License

This project is open source under the MIT License.

MIT License โ€” free to use, modify, and distribute with attribution.

๐Ÿ™Œ Contributing

Contributions, issues, and feature requests are welcome!

  1. Fork the repo
  2. Create a feature branch: git checkout -b feature/your-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature
  5. Open a Pull Request

โญ Star this repo if it helped you plan your financial future! Made with โค๏ธ for financial awareness in India ๐Ÿ‡ฎ๐Ÿ‡ณ

About

The SIP Calculator Website is an interactive tool that helps users estimate investment growth based on their monthly contributions, duration, and expected returns. It provides a simple and age-based interface to make financial planning easy, engaging, and accessible for everyone.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages