A simple and powerful tool designed to help you estimate your internet data usage by calculating data consumption based on speed and time.
- Real-time Calculation: Instantly calculate data usage based on connection speed and duration
- Multiple Speed Units: Support for various speed units (Mbps, Kbps, GB/s, etc.)
- Flexible Time Input: Calculate usage for seconds, minutes, hours, or days
- User-friendly Interface: Clean and intuitive design for easy usage
- Accurate Estimates: Precise calculations considering data overhead
- Export Results: Save or share your calculations
# Clone the repository
git clone https://github.com/krabhi4/byte-meter.git
# Navigate to the project directory
cd byte-meter
# Install dependencies
pnpm install- Enter your internet connection speed
- Select the speed unit (Mbps, Kbps, etc.)
- Input the duration
- Choose the time unit (seconds, minutes, hours, days)
- Click "Calculate" to see your estimated data usage
// Example calculation
const byteMeter = new ByteMeter();
const result = byteMeter.calculate({
speed: 100,
speedUnit: 'Mbps',
time: 1,
timeUnit: 'hour',
});The basic formula used for calculation is:
Data Used = Speed × Time × Unit Conversion Factor
For example:
- 100 Mbps for 1 hour
- = 100 Mbps × 3600 seconds
- = 360,000 Mb = 45,000 MB = 45 GB
- Kilobits per second (Kbps)
- Megabits per second (Mbps)
- Gigabits per second (Gbps)
- Kilobytes per second (KB/s)
- Megabytes per second (MB/s)
- Gigabytes per second (GB/s)
- Seconds
- Minutes
- Hours
- Days
We welcome contributions! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all contributors who have helped shape Byte Meter
- Inspired by the need for quick and accurate data usage estimation
- Built with modern web technologies
Project Link: https://github.com/krabhi4/byte-meter
If you found this project helpful, please give it a ⭐️!
Made with ❤️ by Kumar Abhishek