Technology

active income and passive income

active income and passive income
active income and passive income | SiamCafe Blog
2026-03-15· อ. บอม — SiamCafe.net· 10,882 คำ

Active Income Passive Income

Active Income รายได้เชิงรุก Passive Income รายได้เชิงรับ เงินเดือน Freelance ปันผล ค่าเช่า SaaS Online Course Financial Freedom Diversify

ประเภทActive IncomePassive Income
การทำงานต้องทำงานตลอดทำครั้งเดียว ได้ต่อเนื่อง
ข้อจำกัดจำกัดด้วยเวลาScale ได้ไม่จำกัด
เริ่มต้นง่าย มีงานทำทันทีต้องลงทุนเวลา/เงินก่อน
ความเสี่ยงตกงาน=ไม่มีรายได้กระจายหลายแหล่ง
ตัวอย่างเงินเดือน Freelanceปันผล ค่าเช่า SaaS

คำนวณการลงทุน

# investment.py — Investment Calculator
from dataclasses import dataclass
from typing import List

@dataclass
class IncomeStream:
    name: str
    type: str  # active / passive
    monthly_income: float
    hours_per_month: float
    initial_investment: float
    growth_rate_annual: float

    @property
    def hourly_rate(self) -> float:
        if self.hours_per_month == 0:
            return float('inf')
        return self.monthly_income / self.hours_per_month

    @property
    def annual_income(self) -> float:
        return self.monthly_income * 12

    def projected_income(self, years: int) -> float:
        return self.monthly_income * (1 + self.growth_rate_annual / 100) ** years

streams = [
    IncomeStream("เงินเดือน IT", "active", 80000, 176, 0, 8),
    IncomeStream("Freelance", "active", 30000, 40, 0, 10),
    IncomeStream("Online Course", "passive", 15000, 5, 50000, 20),
    IncomeStream("SaaS Product", "passive", 25000, 10, 200000, 30),
    IncomeStream("เงินปันผล", "passive", 8000, 0, 2000000, 5),
    IncomeStream("Affiliate", "passive", 5000, 3, 10000, 15),
]

print("=== Income Streams ===")
total_active = 0
total_passive = 0
for s in streams:
    rate = f"{s.hourly_rate:,.0f} THB/hr" if s.hours_per_month > 0 else "Passive"
    print(f"  [{s.type}] {s.name}")
    print(f"    Monthly: {s.monthly_income:,.0f} | Annual: {s.annual_income:,.0f}")
    print(f"    Hours: {s.hours_per_month}/mo | Rate: {rate}")
    if s.type == "active":
        total_active += s.monthly_income
    else:
        total_passive += s.monthly_income

total = total_active + total_passive
print(f"\n  Active: {total_active:,.0f}/mo ({total_active/total*100:.0f}%)")
print(f"  Passive: {total_passive:,.0f}/mo ({total_passive/total*100:.0f}%)")
print(f"  Total: {total:,.0f}/mo")

Compound Interest และ Financial Freedom

# compound.py — Compound Interest & FIRE Calculator
from dataclasses import dataclass

@dataclass
class FIRECalculator:
    monthly_expense: float
    monthly_savings: float
    annual_return_pct: float
    current_savings: float

    @property
    def fire_number(self) -> float:
        """จำนวนเงินที่ต้องมี = ค่าใช้จ่ายรายปี x 25 (4% Rule)"""
        return self.monthly_expense * 12 * 25

    @property
    def monthly_return(self) -> float:
        return self.annual_return_pct / 12 / 100

    def years_to_fire(self) -> float:
        """คำนวณปีที่จะถึง FIRE"""
        target = self.fire_number
        balance = self.current_savings
        months = 0
        while balance < target and months < 600:  # max 50 years
            balance = balance * (1 + self.monthly_return) + self.monthly_savings
            months += 1
        return months / 12

    def projection(self, years: int) -> list:
        """แสดง Projection รายปี"""
        results = []
        balance = self.current_savings
        for year in range(1, years + 1):
            for _ in range(12):
                balance = balance * (1 + self.monthly_return) + self.monthly_savings
            passive_monthly = balance * self.monthly_return
            results.append({
                "year": year,
                "balance": balance,
                "passive_monthly": passive_monthly,
            })
        return results

calc = FIRECalculator(
    monthly_expense=50000,
    monthly_savings=60000,
    annual_return_pct=8,
    current_savings=500000,
)

print("=== FIRE Calculator ===")
print(f"  Monthly Expense: {calc.monthly_expense:,.0f} THB")
print(f"  Monthly Savings: {calc.monthly_savings:,.0f} THB")
print(f"  Annual Return: {calc.annual_return_pct}%")
print(f"  FIRE Number: {calc.fire_number:,.0f} THB")
print(f"  Years to FIRE: {calc.years_to_fire():.1f} years")

print(f"\n  Projection:")
for p in calc.projection(15):
    fire_pct = (p['balance'] / calc.fire_number) * 100
    print(f"    Year {p['year']:>2}: {p['balance']:>12,.0f} THB | "
          f"Passive: {p['passive_monthly']:>8,.0f}/mo | "
          f"FIRE: {fire_pct:>5.1f}%")

Passive Income สาย IT

# it_passive.py — IT Passive Income Strategies
from dataclasses import dataclass
from typing import List

@dataclass
class PassiveProject:
    name: str
    category: str
    setup_months: int
    setup_cost: float
    monthly_revenue: float
    monthly_cost: float
    growth_potential: str

    @property
    def monthly_profit(self) -> float:
        return self.monthly_revenue - self.monthly_cost

    @property
    def roi_months(self) -> float:
        if self.monthly_profit <= 0:
            return float('inf')
        return self.setup_cost / self.monthly_profit

projects = [
    PassiveProject("SaaS MVP", "Software", 6, 100000, 45000, 8000, "สูงมาก"),
    PassiveProject("Online Course", "Education", 3, 30000, 20000, 2000, "สูง"),
    PassiveProject("WordPress Themes", "Digital Product", 2, 10000, 12000, 1000, "ปานกลาง"),
    PassiveProject("Tech Blog + Ads", "Content", 6, 5000, 8000, 500, "ปานกลาง"),
    PassiveProject("Affiliate Review", "Marketing", 3, 15000, 10000, 1000, "สูง"),
    PassiveProject("API Service", "Software", 4, 50000, 30000, 5000, "สูง"),
    PassiveProject("Mobile App + Ads", "Software", 4, 80000, 15000, 3000, "ปานกลาง"),
]

print("=== IT Passive Income Projects ===")
for p in projects:
    print(f"\n  [{p.category}] {p.name}")
    print(f"    Setup: {p.setup_months} months | Cost: {p.setup_cost:,.0f} THB")
    print(f"    Revenue: {p.monthly_revenue:,.0f}/mo | Profit: {p.monthly_profit:,.0f}/mo")
    print(f"    ROI: {p.roi_months:.0f} months | Growth: {p.growth_potential}")

# Financial Tips
tips = {
    "Emergency Fund": "เก็บเงินสำรอง 6 เดือนค่าใช้จ่าย",
    "50-30-20 Rule": "50% จำเป็น 30% ต้องการ 20% ออม/ลงทุน",
    "Diversify": "กระจายรายได้หลายแหล่ง อย่าพึ่งแหล่งเดียว",
    "Automate": "ตั้ง Auto-invest ทุกเดือน DCA ลงทุนสม่ำเสมอ",
    "Reinvest": "นำ Passive Income ลงทุนต่อ Compound Effect",
    "Tax Plan": "วางแผนภาษี ใช้สิทธิลดหย่อนเต็มที่",
}

print(f"\n\nFinancial Tips:")
for tip, desc in tips.items():
    print(f"  [{tip}]: {desc}")

เคล็ดลับ

การนำความรู้ไปประยุกต์ใช้งานจริง

แหล่งเรียนรู้ที่แนะนำ ได้แก่ Official Documentation ที่อัพเดทล่าสุดเสมอ Online Course จาก Coursera Udemy edX ช่อง YouTube คุณภาพทั้งไทยและอังกฤษ และ Community อย่าง Discord Reddit Stack Overflow ที่ช่วยแลกเปลี่ยนประสบการณ์กับนักพัฒนาทั่วโลก

เปรียบเทียบข้อดีและข้อเสีย

ข้อดีข้อเสีย
ประสิทธิภาพสูง ทำงานได้เร็วและแม่นยำ ลดเวลาทำงานซ้ำซ้อนต้องใช้เวลาเรียนรู้เบื้องต้นพอสมควร มี Learning Curve สูง
มี Community ขนาดใหญ่ มีคนช่วยเหลือและแหล่งเรียนรู้มากมายบางฟีเจอร์อาจยังไม่เสถียร หรือมีการเปลี่ยนแปลงบ่อยในเวอร์ชันใหม่
รองรับ Integration กับเครื่องมือและบริการอื่นได้หลากหลายต้นทุนอาจสูงสำหรับ Enterprise License หรือ Cloud Service
เป็น Open Source หรือมีเวอร์ชันฟรีให้เริ่มต้นใช้งานต้องการ Hardware หรือ Infrastructure ที่เพียงพอ

จากตารางเปรียบเทียบจะเห็นว่าข้อดีมีมากกว่าข้อเสียอย่างชัดเจน โดยเฉพาะในแง่ของประสิทธิภาพและความสามารถในการ Scale สำหรับข้อเสียส่วนใหญ่สามารถแก้ไขได้ด้วยการเรียนรู้อย่างเป็นระบบและวางแผนทรัพยากรให้เหมาะสม

สรุปประเด็นสำคัญ

สิ่งที่ควรทำต่อหลังอ่านบทความนี้จบ คือ ลองตั้ง Lab Environment ทดสอบด้วยตัวเอง อ่าน Official Documentation เพิ่มเติม เข้าร่วม Community เช่น Discord หรือ Facebook Group ที่เกี่ยวข้อง และลองทำ Side Project เล็กๆ เพื่อฝึกฝน หากมีคำถามเพิ่มเติม สามารถติดตามเนื้อหาได้ที่ SiamCafe.net ซึ่งอัพเดทบทความใหม่ทุกสัปดาห์

Active Income คืออะไร

รายได้แลกเวลา เงินเดือน Freelance ค่าจ้าง หยุดทำ=หยุดได้ จำกัดด้วยเวลา สะสมทุนสำหรับ Passive

Passive Income คืออะไร

รายได้ไม่ต้องทำงานตลอด ปันผล ค่าเช่า Royalty Online Course SaaS Affiliate ลงทุนเวลา/เงินก่อน ได้ต่อเนื่อง

สร้าง Passive Income ในสาย IT ได้อย่างไร

SaaS Product Online Course Digital Products E-book YouTube Open Source Sponsorship Affiliate หุ้น Tech ETF

ควรแบ่งสัดส่วน Active กับ Passive อย่างไร

เริ่ม Active 100% สะสมทุน 6 เดือน ลงทุน 20-30% Passive > ค่าใช้จ่าย = Financial Freedom 5-10 ปี Diversify

สรุป

Active Income Passive Income เงินเดือน Freelance ปันผล ค่าเช่า SaaS Online Course Compound Interest FIRE Financial Freedom Diversify DCA Reinvest Side Project IT Passive Income

📖 บทความที่เกี่ยวข้อง

passive and active incomeอ่านบทความ → active passive incomeอ่านบทความ → passive income vs active incomeอ่านบทความ → passive income active incomeอ่านบทความ → passive income active income คืออ่านบทความ →

📚 ดูบทความทั้งหมด →