How to Make Your First $100,000 While Earning Under $30,000 a Year: A Realistic Step-by-Step Blueprint
Written on July 19, 2026
How to Make Your First $100,000 While Earning Under $30,000 a Year
Direct answer: Yes—it is absolutely possible to build your first $100,000 while earning under $30,000 a year. The process won’t rely on lottery-like investments or overnight success. Instead, it comes from increasing your savings rate, controlling expenses, steadily growing your income, and consistently investing in diversified low-cost assets over several years. The earlier you start, the more powerful compound growth becomes.
For many Americans, earning less than $30,000 per year can feel like financial survival mode. Rent, groceries, transportation, healthcare, and everyday bills often consume most of each paycheck. Saving even a few hundred dollars may seem unrealistic.
Yet thousands of people reach six-figure net worths despite starting with modest incomes. They don’t necessarily earn more in the beginning—they simply develop better financial systems. Your first $100,000 isn’t just another savings milestone. It’s the point where your money starts working harder than you do. Once your investments generate meaningful returns, building wealth becomes significantly easier.
This guide shows exactly how to make that happen without relying on unrealistic promises, risky investments, or impossible budgets.
Why the First $100,000 Changes Everything
Financial experts often describe the first $100,000 as the hardest wealth-building milestone. While everyone’s journey differs, the underlying principle remains the same: building the initial investment base requires discipline, patience, and consistency. Once that foundation exists, compound growth begins doing much of the heavy lifting.
Why people call the first $100,000 the hardest milestone
Investor described the first $100,000 as referring to how difficult it is to accumulate the initial capital. Although the quote was made decades ago—when purchasing power was different—the lesson still applies today. Early on, almost every dollar of your wealth comes directly from your own work. For example:
- You work.
- You save.
- You invest.
- Your portfolio grows slowly.
During these years, your savings contribute far more than investment returns. Once your investments become larger, however, annual market growth begins adding thousands of dollars without additional work. That’s when momentum starts building.
The math behind compounding after $100,000
Compound growth is simply earning returns on previous returns. Imagine investing consistently into diversified stock index funds that historically have averaged approximately 10% annual returns before inflation over long periods (actual returns vary, and future performance is never guaranteed).
Consider these simplified examples:
| Portfolio Value | Approximate 10% Annual Growth |
|---|---|
| $10,000 | $1,000 |
| $50,000 | $5,000 |
| $100,000 | $10,000 |
| $250,000 | $25,000 |
| $500,000 | $50,000 |
Notice what changes. Your investing behavior may remain exactly the same, yet your portfolio begins generating larger gains because the base amount has grown. This is why building the first six figures matters so much.
What this guide covers
Unlike many personal finance articles that assume a middle-class salary, this guide is specifically written for people earning under $30,000 annually.
You’ll learn how to:
- Create a realistic budget that actually works
- Save money without sacrificing your quality of life
- Increase your income strategically
- Begin investing even with small monthly amounts
- Avoid common financial mistakes
- Reach your first $100,000 through consistent long-term habits
Can You Really Reach $100,000 on Less Than a $30,000 Salary?
The biggest obstacle isn’t mathematics. It’s belief. Many people assume wealth is reserved for high earners, but income is only one part of the equation. Your financial progress depends on the gap between what you earn and what you spend.
The short answer, Yes. Will it happen quickly? ,Probably not. Can it happen consistently? , Absolutely.
Someone earning $30,000 who saves and invests consistently often builds substantially more wealth than someone earning $80,000 who spends everything they make.
Income creates opportunity. Savings create capital. Investing creates wealth. You need all three working together.
Income vs. savings rate
One of the strongest predictors of long-term wealth is your savings rate—the percentage of your income you consistently save and invest.
Consider two simplified examples.
| Person | Annual Income | Savings Rate | Annual Savings |
|---|---|---|---|
| Alex | $30,000 | 25% | $7,500 |
| Jordan | $80,000 | 5% | $4,000 |
Although Jordan earns much more, Alex invests nearly twice as much every year.
Over time, disciplined investing can outweigh higher income paired with poor financial habits. This doesn’t mean earning more isn’t valuable—it absolutely is—but controlling your savings rate gives you immediate influence over your financial future.
Time matters more than perfection
Many people delay investing because they think they need:
- More income
- Perfect market timing
- Better investment knowledge
- Complete financial stability
For example: Starting at age 25 with modest monthly investments generally leads to far greater long-term wealth than waiting until age 35 and investing significantly more each month.
Time is one of the few advantages available regardless of income level. The sooner you begin, the harder compound growth works on your behalf.
Common misconceptions that keep people broke
Many financial myths prevent low-income earners from making meaningful progress. “I’ll invest when I make more money.” Higher income often leads to higher spending rather than higher investing.
Without financial discipline, raises disappear quickly. “Investing is only for rich people.” Today, many brokerage firms allow investors to purchase fractional shares with very small amounts of money.
Consistent investing matters more than large initial investments. “Saving small amounts isn’t worth it.” Saving $25, $50, or $100 regularly may feel insignificant. Over several years, however, consistent contributions combined with investment growth can produce surprisingly meaningful results.
Start With the Numbers: Where Your Money Actually Goes
Most people don’t fail financially because they lack motivation. They fail because they don’t know where their money goes. Before investing a single dollar, you need complete visibility into your cash flow.
Calculate your real after-tax income
Your salary isn’t the amount you actually have available. Instead, calculate your monthly take-home pay after:
- Federal taxes
- State taxes (if applicable)
- Payroll deductions
- Health insurance
- Retirement contributions
- Other automatic deductions
This becomes your actual monthly spending limit. Every financial decision starts from this number.
Track every dollar for 30 days
For one full month, record every expense. Not just major bills. Everything Include:
- Rent
- Utilities
- Groceries
- Restaurants
- Gas
- Ride-sharing
- Streaming services
- Coffee
- Online shopping
- Convenience store purchases
- Cash spending
Most people discover spending patterns they never noticed before. Awareness creates better decisions.
Identify spending leaks
Large financial problems are often caused by dozens of small recurring purchases.
Examples include:
- Subscription services you rarely use
- Frequent food delivery
- Convenience store snacks
- Daily specialty coffee
- Impulse online shopping
- Bank fees
- Late payment penalties
None of these purchases seem significant individually. Combined over a year, they can easily total hundreds or even thousands of dollars. The goal isn’t eliminating every enjoyable expense. It’s making intentional choices instead of automatic ones.
Build a zero-based budget
A zero-based budget gives every dollar a specific job before the month begins. Instead of wondering where your money went, you decide where it will go. A simple monthly structure might look like this:
| Category | Example Allocation |
|---|---|
| Housing | 35% |
| Food | 15% |
| Transportation | 10% |
| Utilities | 10% |
| Insurance | 5% |
| Savings | 15% |
| Investing | 5% |
| Personal spending | 5% |
Your percentages will vary depending on your circumstances. The important principle is assigning every dollar intentionally rather than spending whatever remains.
The Financial Foundation Before Investing
Building wealth without a financial foundation is like constructing a house on unstable ground. Before aggressively investing, strengthen the systems that protect your finances during emergencies.
Build a starter emergency fund
Unexpected expenses happen. Cars break down. Medical bills appear. Jobs change.
Without emergency savings, these events often lead to expensive credit card debt. A practical first goal is saving approximately $1,000 as a starter emergency fund.
After eliminating high-interest debt, many financial planners recommend expanding this to cover three to six months of essential living expenses, depending on job stability and household circumstances. Keep this money in a high-yield savings account where it’s accessible but separate from everyday spending.
Eliminate high-interest debt first
Not all debt is equal. Credit card balances charging 20% or more in annual interest can erase years of investment gains. Generally, prioritize paying off:
- Credit card debt
- Payday loans
- High-interest personal loans
Once expensive debt is under control, investing becomes much more effective because your returns aren’t constantly offset by high interest payments.
Improve your credit score
A stronger credit score doesn’t directly create wealth, but it can significantly reduce borrowing costs over time.Healthy credit habits include:
- Paying every bill on time
- Keeping credit utilization low
- Avoiding unnecessary new accounts
- Reviewing your credit reports regularly for errors
Automate your finances
Successful savers don’t rely on motivation every month. They rely on systems. Set up automatic transfers that move money immediately after each paycheck into:
- Emergency savings
- Retirement accounts
- Investment accounts
- Long-term savings goals
When saving happens automatically, you’re far less likely to spend the money first. Think of automation as paying your future self before paying everyone else.
How to Save Your First $100,000 on a $30,000 Salary
Building your first $100,000 doesn’t require extreme frugality. It requires a financial system that consistently leaves money available for investing month after month. If your income is under $30,000, every dollar has a job. The goal isn’t to eliminate everything enjoyable—it’s to maximize the percentage of your income that builds future wealth.
Follow a savings-first system
Most people save what’s left after spending. Successful savers reverse the order.
As soon as your paycheck arrives:
- Transfer money to your emergency fund (if it’s not fully funded).
- Invest your planned monthly amount.
- Pay essential bills.
- Spend what’s left.
This “pay yourself first” approach removes willpower from the equation. Your savings happen automatically instead of depending on what’s left at the end of the month. Even if you start with just $50 or $100 per month, consistency matters more than the initial amount.
Reduce housing costs
Housing is typically the largest expense in an American household. Small changes here can have a much bigger impact than cutting small daily purchases.
Depending on your situation, consider:
- Living with roommates for a few years.
- Renting a smaller apartment.
- Moving closer to work to reduce commuting costs.
- Negotiating your lease renewal.
- House hacking by renting out a spare room if you own a home.
For example, reducing housing costs by $300 per month creates an additional $3,600 per year that can be invested. Over a decade, that decision can be worth tens of thousands of dollars when investment growth is included.
Lower transportation expenses
Transportation is another category where recurring savings add up quickly. Instead of focusing on owning the newest vehicle, prioritize reliability and affordability.
Strategies include:
- Driving a dependable used vehicle.
- Combining errands into fewer trips.
- Using public transportation where practical.
- Carpooling with coworkers.
- Comparing insurance rates annually.
Cut food costs without sacrificing nutrition
Food is one of the easiest categories to optimize without lowering your quality of life. Simple habits include:
- Meal planning every week.
- Buying staple foods in bulk.
- Cooking larger batches for leftovers.
- Limiting restaurant visits.
- Bringing lunch to work.
- Shopping with a grocery list instead of browsing.
The objective isn’t eating cheaply—it’s avoiding unnecessary food waste and impulse purchases.
Eliminate recurring subscriptions
Streaming platforms, cloud storage, premium apps, gaming memberships, and subscription boxes often go unnoticed because they’re billed automatically. Once every three months, review your bank and credit card statements.
Ask yourself, “Would I sign up for this again today?” ,If the answer is no, cancel it. Even saving $40–$60 per month creates additional investment capital year after year.
Save every windfall
Unexpected money shouldn’t automatically become spending money. Examples include:
- Tax refunds
- Work bonuses
- Birthday gifts
- Cash rewards
- Rebates
- Side hustle income
Instead of increasing your lifestyle, direct at least 50% to 100% of these windfalls toward savings or investments. Because you weren’t depending on that money, investing it usually feels much easier than saving from your regular paycheck.
Increase your savings rate every year
One of the most powerful habits is increasing your savings rate whenever your income rises. Imagine receiving a $2,000 annual raise. Instead of spending all of it, commit to investing half.
Over time, your lifestyle still improves while your investments grow much faster. This approach helps prevent lifestyle inflation, one of the biggest obstacles to long-term wealth.
Increase Your Income Without Working 80 Hours a Week
Saving alone has limits. At some point, earning more becomes the fastest way to accelerate wealth building. Fortunately, increasing income doesn’t always require working endless overtime. Focus on activities that increase your earning potential rather than simply increasing your hours.
Negotiate your current pay
Many employees never ask for a raise. Before your next performance review:
- Document your accomplishments.
- Quantify measurable results.
- Research market salaries.
- Practice your negotiation.
Even a modest raise compounds over your entire career. For someone earning $30,000 annually, an additional $2,000–$3,000 per year represents meaningful new investment capital.
Learn one high-income skill
The fastest way to increase income is often improving your skills rather than changing your budget. Skills that continue to see strong demand include:
- Digital marketing
- Sales
- Bookkeeping
- Graphic design
- UX/UI design
- Data analysis
- Web development
- IT support
- Cybersecurity
- AI workflow automation
- Copywriting
- Video editing
You don’t need to master ten skills. Becoming highly competent in one valuable skill often creates more opportunities than being average at many.
Freelancing opportunities
Freelancing allows you to monetize existing skills without leaving your full-time job. Examples include:
- Writing
- Graphic design
- Website development
- Virtual assistance
- Bookkeeping
- Translation
- Social media management
Weekend side hustles
If freelancing isn’t the right fit, there are plenty of flexible income opportunities that work around a traditional schedule. Examples include:
- Pet sitting
- Lawn care
- House cleaning
- Furniture assembly
- Photography
- Tutoring
- Food delivery
- Local moving help
- Event staffing
Choose opportunities that offer the highest hourly return instead of simply filling every available hour.
Online income ideas
The internet has dramatically lowered the barrier to earning additional income. Examples include:
- Selling digital products
- Blogging
- Affiliate marketing
- YouTube
- Print-on-demand
- Online tutoring
- Selling templates
- Stock photography
- Online courses
Most online businesses take time to build, but they also have greater potential for scalable income than hourly work.
Seasonal opportunities
Temporary work can significantly boost annual income. Consider:
- Holiday retail
- Tax preparation assistance
- Election staffing
- Summer tourism jobs
- Festival and event work
Directing seasonal earnings straight into investments accelerates progress without permanently increasing your workload.
The Best Investment Strategy for Low-Income Earners
Saving creates opportunity. Investing creates long-term wealth. The sooner your money begins earning returns, the less you must rely entirely on your paycheck.
Why investing matters even on a small income
Many people believe investing is only worthwhile after accumulating thousands of dollars. In reality, investing early gives your money more years to compound. For example:
Investing $200 every month consistently over many years often produces significantly better results than waiting several years to invest larger amounts.
Start with employer retirement matching
If your employer offers a 401(k) match, contribute enough to receive the full match whenever possible. Employer matching is essentially additional compensation. Declining it is like voluntarily refusing part of your paycheck. If your budget allows only one investment priority initially, employer matching deserves serious consideration.
Roth IRA vs. Traditional IRA
For many workers earning under $30,000 annually, a Roth IRA is often attractive because contributions are made with after-tax dollars, allowing qualified withdrawals in retirement to be tax-free.
A Traditional IRA may provide tax advantages depending on income, filing status, and retirement plan participation.
The right choice depends on your individual tax situation, so reviewing current IRS rules or speaking with a qualified tax professional can help.
Low-cost index funds
Many long-term investors choose broadly diversified index funds because they offer:
- Low fees
- Broad market diversification
- Simple management
- Historically competitive long-term returns
Examples often include funds tracking the S&P 500 or the total U.S. stock market. Rather than trying to predict winning stocks, index investing focuses on owning the market as a whole.
Dollar-cost averaging
Instead of worrying about market timing, many investors contribute a fixed amount every paycheck. This strategy is known as dollar-cost averaging.
Benefits include:
- Removes emotional decision-making.
- Encourages consistency.
- Automatically buys more shares when prices decline.
- Builds long-term investing habits.
For new investors, simplicity is usually an advantage.
Avoid trying to beat the market
Many beginners lose money by chasing:
- Meme stocks
- Viral investment tips
- Cryptocurrency speculation
- Options trading
- Day trading
Building your first $100,000 rarely requires extraordinary returns. It requires avoiding catastrophic mistakes. Steady investing into diversified assets has historically outperformed the majority of active traders over long periods.
A Sample Investment Plan for Someone Making $30,000
Every budget is different, but seeing a practical example helps make the process feel achievable.
Monthly budget example
| Category | Monthly Amount |
|---|---|
| Take-home pay | $2,050 |
| Housing | $700 |
| Utilities | $180 |
| Food | $280 |
| Transportation | $180 |
| Insurance | $120 |
| Phone & Internet | $80 |
| Personal spending | $140 |
| Emergency savings | $120 |
| Investing | $250 |
This example isn’t universal, but it illustrates an important principle. Your investments should appear in your budget as a fixed monthly expense—not an optional leftover.
Monthly investing example
Suppose you consistently invest:
- $250 every month
- Increase contributions whenever your income rises.
- Reinvest dividends.
- Stay invested during market downturns.
Over time, your investment growth begins contributing more than your monthly deposits. That’s the power of compounding in action.
Annual progress projection
A disciplined saver might look something like this:
| Year | New Contributions | Estimated Portfolio* |
|---|---|---|
| 1 | $3,000 | ~$3,150 |
| 2 | $6,000 total | ~$6,700 |
| 3 | $9,000 total | ~$10,800 |
| 5 | $15,000 total | ~$19,500 |
*Illustrative example only. Actual investment returns vary and are never guaranteed.
Five-year projection
Now imagine adding:
- Annual raises
- Larger monthly investments
- Occasional side hustle income
- Tax refunds invested
- Consistent long-term investing
Instead of increasing your spending each year, your portfolio begins accelerating toward the six-figure milestone. The first few years often feel slow. After that, momentum becomes increasingly visible.
Mistakes That Keep Most People From Reaching $100,000
Building wealth isn’t about making perfect financial decisions. More often, it’s about avoiding the mistakes that quietly drain your income and delay long-term progress.
Many people earning under $30,000 can still reach a six-figure net worth, but only if they avoid the habits that keep them trapped in an endless paycheck-to-paycheck cycle.
Lifestyle inflation
Lifestyle inflation happens when your spending increases every time your income increases. You get a raise. You upgrade your apartment. You buy a newer car. You finance expensive electronics. You start eating out more often. Within months, the extra income disappears.
Instead, commit to investing at least 50% of every raise before adjusting your lifestyle. This allows you to enjoy some additional spending while steadily accelerating your wealth-building journey.
Waiting for the “perfect” income
Many people postpone saving because they believe they’ll start after getting a better-paying job. The problem is that financial habits rarely change overnight.
If saving $100 per month feels impossible today, saving $500 per month may still feel difficult after a raise because expenses often grow alongside income. Start with what you have now—even if it’s only a small amount.
Trying to get rich quickly
When money feels tight, high-risk investments can seem tempting.
Be cautious of claims promising:
- Guaranteed high returns
- Fast wealth with little effort
- Secret investment strategies
- “Risk-free” opportunities
- Pressure to act immediately
Legitimate investing is usually slow, consistent, and sometimes boring. That’s precisely why it works over the long term.
Investing emotionally
Financial markets rise and fall. Selling investments during a downturn out of fear and buying after prices have already risen is one of the most common—and costly—investing mistakes. Create an investment plan before emotions take over. Then stick to it.
Ignoring inflation
Inflation gradually reduces purchasing power. Keeping all of your savings in a standard savings account for decades may feel safe, but over long periods it often fails to keep pace with inflation.
Maintaining an emergency fund in cash is important, but long-term goals generally require investments with the potential to outpace inflation over time.
Carrying expensive debt
High-interest debt can make it extremely difficult to build wealth. If you’re paying 20% or more in annual interest on credit card balances, your investments must earn exceptionally high returns just to break even. Paying off high-interest debt is often one of the best guaranteed “returns” available.
Realistic Timeline: How Long Does It Take?
There isn’t a single timeline that fits everyone.
Your progress depends on several factors, including:
- Savings rate
- Investment returns
- Income growth
- Major life events
- Unexpected expenses
Still, it’s helpful to understand what different scenarios might look like.
Conservative scenario
If you’re able to invest modest amounts while gradually increasing your contributions over time, reaching $100,000 may take well over a decade. The advantage is that this approach is often sustainable and less stressful.
Average scenario
Someone who consistently increases both income and investment contributions each year may reach the milestone in roughly 10 to 15 years.
This often combines:
- Regular investing
- Employer retirement contributions
- Periodic raises
- Occasional side income
Aggressive saver scenario
A person who keeps living expenses low, increases income significantly, and invests a large percentage of earnings may reach $100,000 much sooner.
This usually requires:
- High savings rates
- Minimal lifestyle inflation
- Consistent investing
- Strong income growth
Aggressive saving isn’t realistic for everyone, but even modest improvements in savings rate can meaningfully shorten the timeline.
What affects the timeline?
Several variables influence how quickly you’ll reach your goal:
- Your starting savings
- Annual investment returns
- How often you increase contributions
- Housing costs
- Debt obligations
- Unexpected financial setbacks
- Career advancement
Rather than comparing yourself to someone else, focus on improving your own financial system year after year.
Habits Shared by People Who Reach Their First $100,000
Although every financial journey is different, successful wealth builders often share several consistent habits.
Consistency beats intensity
Large one-time investments are helpful, but steady monthly investing is usually more important. Small contributions made consistently over many years often outperform sporadic large deposits.
Automate decisions
Automation removes the temptation to spend money before saving it.
Set up automatic transfers for:
- Emergency savings
- Retirement accounts
- Brokerage accounts
- Bill payments
When good financial decisions happen automatically, they require much less discipline.
Read about money regularly
Financial literacy compounds just like investments. Spending a small amount of time each month learning about budgeting, taxes, investing, and retirement planning can improve your long-term decision-making. Focus on timeless principles rather than chasing daily financial news.
Increase income every year
Your income today doesn’t have to determine your income five years from now. Invest in yourself by improving valuable skills, earning certifications where appropriate, or pursuing opportunities with greater earning potential. Each increase in income creates another opportunity to raise your savings rate.
Stay invested during downturns
Market declines are a normal part of long-term investing. Historically, broad stock markets have experienced periodic corrections and bear markets, yet patient, diversified investors who remained invested have generally been rewarded over long time horizons. Past performance, however, does not guarantee future results. Avoid making investment decisions based solely on short-term market movements.
Frequently Asked Questions
Is it possible to save $100,000 making $30,000 a year?
Yes. It is possible, although it usually requires several years of disciplined saving, steady investing, and gradually increasing your income. The exact timeline depends on your savings rate, investment returns, and personal circumstances.
How much should I invest each month?
There isn’t a universal amount. Aim to invest what your budget allows while continuing to cover essential expenses and maintaining an emergency fund. As your income grows, increase your monthly investment contributions whenever possible.
Should I pay off debt before investing?
High-interest debt—particularly credit card debt—is often worth paying down before making large taxable investments because the interest cost can outweigh expected investment returns. However, if your employer offers a retirement match, contributing enough to receive the full match may still make financial sense.
Which investment account should I open first?
That depends on your goals and eligibility. Many workers begin by contributing to an employer-sponsored retirement plan if matching contributions are available. Others may choose an IRA or a taxable brokerage account based on their circumstances. If you’re unsure, consider speaking with a qualified financial or tax professional.
How long will it realistically take?
There is no guaranteed timeline. Depending on income growth, savings rate, and market performance, reaching your first $100,000 may take anywhere from several years to well over a decade. The important factor is making steady progress rather than chasing unrealistic deadlines.
Is buying a house before reaching $100,000 a good idea?
It depends on your financial situation. Buying a home can be a good long-term decision for some households, but it shouldn’t come at the expense of maintaining an emergency fund or taking on unaffordable monthly payments. Evaluate the total cost of homeownership rather than focusing only on the mortgage payment.
What if my income changes?
Treat income increases as opportunities to increase your investments instead of dramatically increasing your lifestyle. If your income temporarily decreases, continue investing whatever amount is sustainable while protecting your emergency fund and avoiding unnecessary debt.
Conclusion: Your First $100,000 Starts With Your Next Paycheck
Your first $100,000 won’t happen because you found the perfect stock, discovered a secret budgeting trick, or waited until you earned a six-figure salary. It happens because you consistently make sound financial decisions over time.
You spend less than you earn. You build an emergency fund. You eliminate high-interest debt. You increase your income whenever possible. You invest regularly in diversified, low-cost investments. And most importantly, you keep going—even when progress feels slow. Remember that wealth is built one paycheck, one contribution, and one smart decision at a time. If you’re earning under $30,000 today, don’t focus on how far you have left to go. Focus on making your next financial decision a better one than your last.
Years from now, you’ll likely discover that reaching your first $100,000 wasn’t the result of one extraordinary moment—it was the outcome of hundreds of ordinary decisions made consistently.
Key Takeaways
- Your savings rate matters as much as your income.
- Build an emergency fund before investing aggressively.
- Eliminate high-interest debt as early as possible.
- Invest consistently instead of trying to time the market.
- Increase your income by developing valuable skills.
- Avoid lifestyle inflation when your earnings grow.
- Automate saving and investing to stay consistent.
- Think in years and decades, not weeks and months.
You May Also Like
How to Become a Millionaire Through Investing: A Proven Long-Term Strategy That Actually Works
References
- U.S. Bureau of Labor Statistics (consumer spending and inflation)
- Internal Revenue Service ( retirement plans)
- U.S. Securities and Exchange Commission (educational resources)
- Federal Reserve (household debt and credit report)
- Vanguard research on index fund