# Real-Time Operating System (RTOS)

> A tiny system that runs a device's jobs on a strict clock. No job is late.

**Field:** Software Development  
**Category:** Embedded & IoT  
**Also known as:** RTOS, Real-Time OS, FreeRTOS, Zephyr RTOS

## Think of it like

It is like a strict teacher with a clock. Each child gets a turn, and no one is late.

## Definition

A real-time operating system is a tiny operating system for devices that must act on time. It splits the work into tasks, such as read the sensor and update the screen. A scheduler gives each task a turn by how urgent it is. The key promise is not speed but timing you can count on. The most urgent task always runs within a known time.

## Example

A drone runs a task that keeps it level 500 times a second, plus a slower one for the radio. The RTOS makes sure the level task is never late.

## Why it matters

In brakes, pacemakers and drones, an answer that comes late is a wrong answer.

## Common mistake

Thinking real time means fast. It means on time, every time, even if that time is slow.

## Three principles

- **Tasks.** Work is split into small jobs.
- **Priorities.** Urgent tasks go first.
- **Known timing.** Deadlines are met every time.

## Related terms

- [Operating System (OS)](https://learn.benibix.com/term/development/operating-system)
- [Embedded System](https://learn.benibix.com/term/development/embedded-system)
- [Microcontroller (MCU)](https://learn.benibix.com/term/development/microcontroller)
- [Interrupt (Hardware)](https://learn.benibix.com/term/development/interrupt)
- [Firmware](https://learn.benibix.com/term/development/firmware)

![One chip drawn as a large box labelled microcontroller. Inside it sit a small processor, flash memory that holds the firmware, a little RAM, and a row of pins along the edge. A button and a temperature sensor feed in through the pins on the left, and an LED and a motor are driven by pins on the right. A note says the whole computer is one chip that runs one job.](https://learn.benibix.com/diagrams/dev4-microcontroller.svg)

---

Source: https://learn.benibix.com/term/development/real-time-operating-system
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
