cal is the built-in Unix/Linux/macOS command-line calendar tool. Learn its history, usage, options, and how it differs from ncal and gcal.
Researched and fact-checked by Bartu Cavusoglu · Updated July 18, 2026
Category
Scheduling
Pricing
Free, from Free
Verified
Not yet
Last updated
July 18, 2026
Open SourceSelf-HostedMac
Overview
cal is a command-line utility that prints a plain-text calendar to the terminal. It is not a commercial product or company; it is one of the original small utilities from early Unix, written by Doug McIlroy for the first PDP-11 Unix implementation around 1971 and present in Version 6 AT&T UNIX.
Because of that lineage, cal is specified in the Single UNIX Specification and ships by default with virtually every Unix-like operating system, including Linux distributions, macOS, and other BSD systems - there is nothing to install, sign up for, or pay for.
Key Features
With no arguments, cal prints the current month; it also accepts a month and year to display an arbitrary month, or a single year to print all twelve months at once. Common flags control whether weeks start on Sunday or Monday and whether Julian (day-of-year) dates are shown.
A frequently cited historical detail is cal's handling of the September 1752 Julian-to-Gregorian calendar switch, when eleven days were dropped from the calendar in Britain and its colonies - many implementations still reproduce this gap when run against that specific month and year.
Pricing
cal is free and included by default with the operating system; there is no license, subscription, or paid tier. Related tools like ncal and the more feature-rich GNU gcal are separate, optional utilities on some systems.
Key Features
Current month display — Running cal with no arguments prints a calendar for the current month by default.
Arbitrary month/year lookup — Accepts a month and year argument to display the calendar for any specific month in history or the future.
Full-year view — Passing a single year argument prints all twelve months of that year at once.
Configurable week start — Supports flags to start the displayed week on either Sunday or Monday.
Julian date display — Can optionally show day-of-year (Julian) dates alongside standard calendar dates.
Historical calendar accuracy — Correctly reflects the September 1752 Julian-to-Gregorian calendar transition on many implementations.
Pros & Cons
Pros
Available by default on virtually every Unix-like system with no installation needed
Extremely lightweight and fast for quick terminal reference
Simple, stable command syntax that has changed little in decades
No cost, license, or account required
Cons
Output formatting and supported flags vary slightly between implementations (GNU/Linux vs BSD/macOS)
No graphical interface, reminders, or event/scheduling functionality
Limited to displaying dates - no integration with calendar apps or scheduling systems
Less commonly used since GUI and web-based calendar apps became standard for scheduling
Frequently Asked Questions
What does the cal command do?
cal prints a plain-text calendar to the terminal, showing the current month by default or any specified month or year.
Is cal free?
Yes, cal is a free, built-in command-line utility included by default with Unix-like operating systems; there is no cost or license involved.
How do I show a whole year with cal?
Running cal followed by just a year (e.g. cal 2026) prints all twelve months of that year.
Does cal work the same on macOS and Linux?
The core functionality is the same, but macOS/BSD and Linux (GNU/util-linux) implementations can differ slightly in default formatting and supported flags.
What is the difference between cal and ncal?
ncal is a related utility, available on most of the same systems, that displays the calendar in an alternate vertical layout compared to cal's default horizontal grid.
Tool pages we refreshed lately, from across the directory.
XannotateUpdated Nov 29, 2026 AI · Record your screen, point and speak, and hand it off to AI. Video prompts for Cursor, Claude, and Codex — local-only…
LeadScriptsUpdated Oct 26, 2026 AI Writing · LeadScripts is an AI marketing copy tool that analyzes a website, builds a Customer Avatar, and uses it with 1,000+…
Shift4Updated Nov 30, 2026 Security · Shift4 is a payment processing and unified commerce platform providing payment gateways, point-of-sale systems, and…
CutCatUpdated Nov 29, 2026 Media & Audio/Video Tools · CutCat mutes or skips mature content, nudity and gore while you watch Netflix, using scenes marked by viewers who got…
ToolhouseUpdated Oct 26, 2026 AI · Toolhouse turns plain-language requests into AI workers that use your email, CRM and other tools to finish repetitive…
AfluencerUpdated Oct 26, 2026 Marketing · Afluencer is an influencer marketing marketplace where brands post collabs and verified creators apply to join.…
NotarizeUpdated Nov 14, 2026 Documents & E-signature · Notarize lets you notarize documents online in under 10 minutes, 24/7 — secure, convenient, and legally valid…
SOPMakerUpdated Oct 26, 2026 Documentation · SOPMaker is an AI generator for standard operating procedures. It drafts industry-specific SOPs with roles, steps and…
InterMINDUpdated Oct 26, 2026 Translation · InterMIND is a collaboration space where meetings, chat, files and recaps are translated live, so each participant…
Absorb LMSUpdated Nov 30, 2026 Online Learning · Absorb LMS is a cloud-based learning management system that lets enterprises create, deliver, and track training for…