Local Sidereal Time
Julian Date, GMST and LST from UTC and longitude — a developer-facing astronomy primitive
LST = GMST + longitude/15 hours. Intended as a primitive for other celestial mechanics work. Runs locally.
Examples
Greenwich identity
computeSidereal(utc, 0)lstHours === gmstHoursLocal sidereal time at longitude 0 is GMST.
About this tool
computeSidereal(utc, longitude) returns Julian Date, GMST and LST. LST = wrap(GMST hours + longitude/15).
At longitude 0, LST equals GMST. +15° of longitude adds one sidereal hour.
Copy the JSON into other celestial-mechanics formulas. No network calls.
How to use this tool
Set time and longitude
Use city search or type a longitude.
Compute
Read JD, GMST and LST as clocks and hours.
Copy JSON
Reuse the numbers in your own formulas.
Use cases
Telescope pointing helpers
LST is the first input to hour-angle formulas.
House-system debugging
RAMC is GMST + longitude.
Common mistakes
Mistake:Adding longitude in hours instead of degrees.
Fix:The engine expects degrees and divides by 15 internally.
Frequently asked questions
What does this tool do?
It returns Julian Date, GMST and LST from UTC and longitude via computeSidereal.
How is LST related to GMST?
LST hours = wrap(GMST hours + longitude/15). At longitude 0 they match.
Is this GMST or GAST?
The value is astronomy-engine SiderealTime (mean sidereal time used as GMST).
Is anything uploaded?
No.
Related guides
References & standards
Related tools
Base64 Toolbox
Professional Base64 workspace for text, files and images with Base64URL, MIME, Data URI, strict validation, image preview and ready-to-use snippets.
C# to VB.NET Converter
Convert a subset of C# — classes, methods, variables, loops — into VB.NET
CSV Data Viewer
Paste CSV and browse rows in a sortable table with delimiter detection
CSV to Chart
Paste or upload CSV data and generate bar, line, pie, or doughnut charts. Export as PNG.
CSV to JSON Converter
Paste CSV data and convert it to pretty-printed JSON instantly — supports custom delimiters, header row toggling, and value trimming.
CSV to Markdown Converter
Convert CSV to a Markdown table and Markdown tables back to CSV