# Calcufly

**Free Online Calculators & Converters** - A Python library for common calculations.

Website: [https://calcufly.com](https://calcufly.com)

## Installation

```bash
pip install calcufly
```

## Quick Start

```python
import calcufly

# Compound interest
result = calcufly.compound_interest(10000, 0.05, 10)
print(result)  # {'total': 16470.09, 'interest': 6470.09}

# BMI
result = calcufly.bmi(75, 1.80)
print(result)  # {'bmi': 23.1, 'category': 'Normal weight'}

# Mortgage
result = calcufly.mortgage_payment(250000, 0.04, 30)
print(result)  # {'monthly_payment': 1193.54, 'total_paid': 429674.4}

# Convert temperature
calcufly.convert_temperature(100, 'C', 'F')  # 212.0

# Area calculation
calcufly.area("circle", radius=5)  # 78.5398
```

## Available Calculators

### Finance Calculators
- **[Compound Interest Calculator](https://calcufly.com/en/finance/compound-interest-calculator)** - `compound_interest(principal, rate, time, n=12)`
- **[Mortgage Calculator](https://calcufly.com/en/finance/mortgage-calculator)** - `mortgage_payment(principal, annual_rate, years)`
- **[Loan Calculator](https://calcufly.com/en/finance/loan-calculator)** - `loan_payment(principal, annual_rate, months)`
- **[Tip Calculator](https://calcufly.com/en/finance/tip-calculator)** - `tip_calculator(bill, tip_percent, split=1)`
- **[Savings Calculator](https://calcufly.com/en/finance/savings-calculator)** - Plan your savings goals
- **[Investment Calculator](https://calcufly.com/en/finance/investment-calculator)** - Track investment growth

### Health Calculators
- **[BMI Calculator](https://calcufly.com/en/health/bmi-calculator)** - `bmi(weight_kg, height_m)`
- **[BMR Calculator](https://calcufly.com/en/health/bmr-calculator)** - `bmr(weight_kg, height_cm, age, gender)`
- **[Calorie Calculator](https://calcufly.com/en/health/calorie-calculator)** - Daily calorie needs
- **[Body Fat Calculator](https://calcufly.com/en/health/body-fat-calculator)** - Estimate body fat percentage

### Math Calculators
- **[Percentage Calculator](https://calcufly.com/en/math/percentage-calculator)** - `percentage(value, percent)`
- **[Percentage Change](https://calcufly.com/en/math/percentage-change-calculator)** - `percentage_change(old, new)`
- **[Area Calculator](https://calcufly.com/en/math/area-calculator)** - `area(shape, **dimensions)`
- **[Fraction Calculator](https://calcufly.com/en/math/fraction-calculator)** - Work with fractions
- **[Scientific Calculator](https://calcufly.com/en/math/scientific-calculator)** - Advanced math operations

### Unit Converters
- **[Temperature Converter](https://calcufly.com/en/conversion/temperature-converter)** - `convert_temperature(value, from, to)`
- **[Length Converter](https://calcufly.com/en/conversion/length-converter)** - `convert_length(value, from, to)`
- **[Weight Converter](https://calcufly.com/en/conversion/weight-converter)** - `convert_weight(value, from, to)`
- **[Volume Converter](https://calcufly.com/en/conversion/volume-converter)** - Convert volume units
- **[Speed Converter](https://calcufly.com/en/conversion/speed-converter)** - Convert speed units

## More Calculators

Visit [calcufly.com](https://calcufly.com) for 600+ free online calculators in 25 languages:

- [All Finance Calculators](https://calcufly.com/en/finance/)
- [All Health Calculators](https://calcufly.com/en/health/)
- [All Math Calculators](https://calcufly.com/en/math/)
- [All Unit Converters](https://calcufly.com/en/conversion/)
- [Date & Time Calculators](https://calcufly.com/en/date-time/)

## License

MIT License - see [LICENSE](LICENSE) for details.
