Xiaomi Swappable Camera Lenses: How It Works
- Average speed
- km/h
- Result
- Finish time
- 50 min
- You entered
- Distance
- 10 km
- You entered
Yes, Xiaomi has experimented with swappable camera lenses for its smartphones, but they are not a standard feature on current models. The concept, demonstrated through the Xiaomi 12S Ultra Concept and a modular lens system for the Xiaomi 13 Ultra, uses a physical mount and a proprietary adapter to attach real camera lenses (like a Leica M-series lens) to the phone’s built-in camera sensor. This article explains how the system works, which phones support it, what you need to use it, and whether it’s worth pursuing.
Formula
The calculator above computes your average pace and speed for a run or ride. The formulas are:
- Pace = Finish time (minutes) ÷ Distance (km) — result in minutes per kilometer.
- Speed = Distance (km) ÷ (Finish time (minutes) ÷ 60) — result in kilometers per hour.
Where:
- t = finish time in minutes (input)
- d = distance in kilometers (input)
- Pace is expressed in min/km, speed in km/h.
Worked Example
Using the default values: t = 50 minutes, d = 10 km.
- Pace = 50 ÷ 10 = 5.0 min/km.
- Speed = 10 ÷ (50 ÷ 60) = 10 ÷ 0.8333 = 12.0 km/h.
The calculator returns a pace of 5.00 min/km and a speed of 12.00 km/h.
When to Use This Calculator
Use this tool when you want to know your average running or cycling pace from a single workout. It’s helpful for setting training targets, comparing efforts across different distances, or planning a race pace. Enter your total time and distance, and the calculator gives you the pace and speed instantly.
How to Read the Result
A lower pace (min/km) means faster running. For example, 4:30 min/km is faster than 5:00 min/km. Speed in km/h is more intuitive for cyclists: 25 km/h is a moderate road bike pace, while 15 km/h is a gentle jog. The two metrics are inversely related — as pace decreases, speed increases.
Common Mistakes
- Unit mix-ups: Entering distance in miles instead of kilometers will give a pace that looks too fast. Convert miles to km by multiplying by 1.60934.
- Time in hours: If you enter hours instead of minutes, the pace will be off by a factor of 60. Always convert to minutes first.
- Rounding too early: Rounding the pace to one decimal before using it in speed calculation can cause small errors. Use the full precision in your own calculations.
Limits of the Formula
This calculator assumes a constant pace. Real workouts have hills, stops, and variable effort, so the average pace may not reflect your actual speed at any given moment. It also doesn’t account for elevation gain, which can make a slower pace feel harder. For interval training, use a dedicated workout analysis tool.
Frequently Asked Questions
How do I convert my pace from min/km to min/mile?
Multiply the pace in min/km by 1.60934. For example, 5 min/km becomes 8:03 per mile. You can also use the speed in km/h and divide by 1.60934 to get mph.
What is a good running pace for a beginner?
A comfortable jogging pace for a beginner is typically between 6:00 and 7:30 min/km (about 9.7 to 10.8 km/h). But pace is highly individual; focus on effort rather than a fixed number.
Can I use this for walking?
Yes, the same formula works for walking. A typical walking pace is 10–12 min/km (5–6 km/h).
Why does the calculator show two decimals?
Two decimals give a reasonable precision for pace (e.g., 5.25 min/km) without being overly detailed. For training, you usually round to the nearest second (5:15 min/km).
Does the calculator work for treadmill runs?
Yes, as long as you enter the time and the distance shown on the treadmill. Treadmills may be slightly inaccurate, so your actual outdoor pace could differ.
Related Tools
If you need to convert between miles and kilometers, use our distance converter. For a more detailed training plan, consider a heart-rate zone calculator. And if you want to estimate calories burned, try our running calorie calculator.
Related
Formula used
in t | Finish time | min | 50 | 0 in d | Distance | km | 10 | 0 out pace | Average pace | min/km | t / d | 2 out speed | Average speed | km/h | d / (t / 60) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.