ResearchForge / Calculators
Electric Circuits·data-rate-conversion

Data Rate Conversion

Given a data size per unit (e.g., bytes per image), a frequency (e.g., images per second), and time duration, compute the total data volume by chaining unit conversions across time intervals (seconds, minutes, hours).

✓ All 2 test cases pass.

Inputs

Test cases

These cases run live in your browser every time the page loads. If any fail, the calculator is broken — file an issue.

#InputsExpectedGotStatus
1{"bytes_per_image":24883200,"images_per_sec":30,"duration_hours":2,"bytes_per_tb":1000000000000}5.3755.375
2{"bytes_per_image":1000000,"images_per_sec":60,"duration_hours":1,"bytes_per_tb":1000000000000}0.2160.216
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/electric-circuits/data-rate-conversion/compute
Inputs (4)
  • bytes_per_imageintegerdefault 24883200
  • images_per_secintegerdefault 30
  • duration_hoursnumberdefault 2
  • bytes_per_tbnumberdefault 1000000000000
Example
curl -sX POST http://localhost:3001/api/calculators/electric-circuits/data-rate-conversion/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"bytes_per_image":24883200,"images_per_sec":30,"duration_hours":2,"bytes_per_tb":1000000000000}}'
Try it live
Edit the body below, then click Call API.
Request body
Response
(click Call API to see the response)
full API docs →

Source: Pattern from: James W. Nilsson, Susan A. Riedel - Electric Circuits 11e - Instructor’s Solution Manual-Pearson (2019).pdf. Reproduces a standard data-rate-conversion computation; problem text paraphrased.

AI disclosure: Calculator code generated by anthropic/claude-haiku-4-5-20251001; verified by 2 test cases.