Color temperature mired converter
Move between kelvin and the mired scale used for filters: 5600 K daylight is about 178.57 mired, or 17.857 decamired. Enter one value and see kelvin, mired, reciprocal megakelvin and decamired together. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Value
- 5,600
- From
- Kelvin
- To
- Mired
- Result
- 178.5714285714 mired
- Input
- 5,600
- Kelvin
- 5,600
- Mired
- 178.5714285714
Lighting designers, photographers and camera engineers constantly move between Kelvin color temperature and the mired scale used for filter packs and white-balance deltas. This color temperature mired converter turns a positive value in kelvin, mired, reciprocal megakelvin or decamired into every other supported unit with the textbook identity mired equals one million divided by Kelvin. Reciprocal megakelvin is numerically identical to mired, and one decamired is ten mireds—the step size printed on many gel and dichroic filter sets.
Kelvin, mired, MK⁻¹ and decamired explained
Color temperature in kelvin describes the approximate blackbody appearance of a light source: candlelight near one thousand eight hundred K, tungsten studio lamps near three thousand two hundred K, daylight-balanced strobes near five thousand six hundred K, and overcast or electronic flash often higher still. The mired scale—short for micro reciprocal degree—is defined exactly as one million divided by that Kelvin temperature.
Because the mapping is reciprocal rather than linear, equal mired steps correspond to roughly equal perceived color shifts, which is why filter manufacturers rate correction gels in mireds or decamireds instead of raw Kelvin. Reciprocal megakelvin, written MK⁻¹, is the SI-style name for the same quantity: one mired equals one reciprocal megakelvin, so converting between those two labels never changes the number. A decamired is ten mireds and is the coarser step used on many color-correction filter charts and cinema gel swatch books.
Enter any positive reading in one of these four units and the converter returns the equivalent values in all of them, so you can annotate a shot list in Kelvin while ordering gels by mired shift or decamired steps without juggling a hand calculator.
Exact conversion formulas and validation rules
Every conversion routes through Kelvin as the hub so stacked unit hops never accumulate formula error. From kelvin, mired equals one million divided by T and reciprocal megakelvin receives the same number; decamired equals mired divided by ten, which is one hundred thousand divided by T. From mired or reciprocal megakelvin, Kelvin is one million divided by the mired value.
From decamired, Kelvin is one hundred thousand divided by the decamired value. All factors are exact powers of ten—there is no fitted curve, no Planckian locus approximation, and no temperature-to-RGB path (that is a separate capability). The value field must be a finite positive number: zero and negatives are rejected because they do not define a usable color temperature under the reciprocal definition.
How lighting and camera teams use it
Call the capability with three fields: value as a finite positive number, from as the source unit, and to as the target unit. A formula string restates the identities for documentation sidebars. The browser path runs the identical pure module free of charge, which is ideal for quick set checks and classroom demos.
Photographers use it to turn a 5600 K daylight reading into about 178.57 mired before computing a filter shift; gaffers convert a 3200 K tungsten plate into mireds and subtract to size CTO or CTB packs in decamired steps; firmware and camera-app authors keep white-balance UI in Kelvin while logging MK⁻¹ deltas against a reference. Status is beta while the public surface stabilizes, but the arithmetic itself is fixed textbook identity and will not change under the same inputs.
What you can do with it
Gel and dichroic filter planning
Convert lamp Kelvin to mireds, subtract the target scene mireds, and size CTO/CTB correction gels in mired or decamired steps.
Camera white-balance tooling
Expose Kelvin to users while storing reciprocal megakelvin deltas against a reference white point in firmware or post software.
Lighting paperwork and shot lists
Normalize mixed call sheets that quote both 5600 K daylight heads and mired filter stacks into one consistent scale.
FAQ
Are mired and reciprocal megakelvin the same?
Yes. Numerically one mired equals one MK⁻¹; the converter treats them as identical quantities with different labels.
How do I convert 5600 K daylight to mired?
Send value 5600, from kelvin and to mired. The result is 1e6/5600 ≈ 178.571428571429 mired, with all sibling units included in the response.
What is a decamired?
A decamired is ten mireds, the coarser step printed on many color-correction filter charts and gel swatch books. Divide a mired value by ten to get decamireds, so 178.57 mired is 17.857 decamired.
Why do filter makers rate gels in mireds instead of kelvin?
Because the mired scale is reciprocal: equal mired steps correspond to roughly equal perceived color shifts, which equal kelvin steps do not.
Does it convert color temperature to RGB?
No. It only moves between kelvin, mired, reciprocal megakelvin and decamired using exact powers of ten. Turning a color temperature into an RGB color is a separate tool.
Related tools
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/conv/mired \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"value":5600,"from":"kelvin","to":"mired"}'const res = await fetch("https://api.kit.forhosting.com/conv/mired", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"value": 5600,
"from": "kelvin",
"to": "mired"
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/conv/mired",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"value": 5600,
"from": "kelvin",
"to": "mired"
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/conv/mired", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"value":5600,"from":"kelvin","to":"mired"}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"value":5600,"from":"kelvin","to":"mired"}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/conv/mired", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"value": 5600,
"from": "kelvin",
"to": "mired"
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "conv.mired",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
The engine is pure, deterministic arithmetic: same input always yields the same JSON, free in the browser or at $0.002 per successful API request with no subscription.
Exact conversion formulas and validation rules
Unknown unit strings fail with invalid_input naming the field and listing the accepted names; short aliases such as K, mrd, rmk, MK-1 and dm are accepted and normalized to canonical names in the response.
API contract, pricing and typical workflows
Canonical unit names are kelvin, mired, reciprocal_megakelvin and decamired. The success payload echoes the input and canonical from and to names, returns result and a short display unit string, and also includes kelvin, mired, reciprocal_megakelvin and decamired so a single call can feed both a UI label and a gel table without a second request. Hosted API pricing is a flat $0.002 per successful request; client validation failures such as a missing field, a non-positive value or an unknown unit do not consume balance.
Technical questions
Which units does the color temperature mired converter support?
Kelvin, mired, reciprocal megakelvin (MK⁻¹) and decamired. Aliases such as K, mrd, rmk, MK-1 and dm are accepted and normalized.
How much does the API cost?
Each successful API call costs $0.002. The same converter runs free in your browser with no account required.
What if I send an unknown unit?
The request fails with invalid_input explaining that the unit is unknown and listing the accepted names. Invalid client input is not charged.