Student & CS Theory Tools
Simulate NFA/DFA and LL(1)/LR(0) parsers, run CPU and disk scheduling, solve Karnaugh maps and matrices, and calculate GPA — all in your browser.
Available Utilities
Fraction Calculator
Calculate fractions and mixed numbers with work shown
Tip Calculator
Split a bill and see the extra tip from rounding
Gas Mileage Calculator
Measure US MPG and estimate your trip’s fuel cost
Big-O Complexity Calculator
Compare eight growth functions and algorithm work models
GPA Converter: US & India
Compare US GPA, percentage and Indian CGPA
Z-Score Calculator
Find z-scores, shaded probabilities and percentile cutoffs
Significant Figures Calculator
Count, round and calculate with significant figures
Scientific Notation Calculator
Convert notation and calculate exact powers of ten
RISC-V Instruction Encoder
Encode and decode RISC-V RV32I machine instructions
Graph Algorithm Visualizer
Trace graph searches, shortest paths and spanning trees
GPA Calculator (4.0 Scale)
Calculate semester GPA and plan your target
Modular Arithmetic Calculator
Compute modular inverses, powers, and gcd step by step
Percentage Calculator
Find percentages, changes, discounts and tax with steps
Attendance Calculator
See how many classes to attend or skip to meet your target
CGPA Calculator
Work out credit-weighted CGPA from grades or semesters
Exam Countdown
Track the days and hours until your exams
Semester Planner
Plan courses and see the GPA your target grades would give
Timetable Generator
Build a weekly timetable and download it as a PDF or picture
Assignment Cover Page Maker
Fill in your assignment details and download a cover page PDF
Citation Generator
Format book, article and website references in three styles
Study Timer
Time study sessions and breaks with a Pomodoro timer
Final Grade Calculator
Find the final exam score you need for your target grade
Scientific Calculator
Calculate powers, roots, logs and trigonometric functions
Text to Speech
Hear text read aloud with adjustable voice, pitch and speed
Speech to Text
Turn speech into editable text using your browser
Lab Report Formatter
Turn experiment details and observations into a lab report PDF
Notes to PDF
Turn Markdown notes into a printable PDF
Binary Calculator
Add, subtract and apply logic operations to binary numbers
Prime Number Generator
List primes up to a limit or check whether a number is prime
Matrix Calculator
Exact inverse, determinant and RREF with steps
Business Days Calculator
Count weekdays and elapsed calendar days between two dates
Finite Automata Simulator (NFA/DFA)
Draw a finite automaton and trace strings step by step
NFA to DFA Converter
Turn an NFA into a DFA with the subset construction shown
DFA Minimizer
Merge equivalent DFA states and see each minimization step
Regex to NFA Converter
Turn a regular expression into an NFA diagram
PDA Simulator
Test a pushdown automaton and follow its stack moves
Turing Machine Simulator
Write Turing machine rules and watch the tape step by step
Master Theorem Calculator
Find running-time bounds for divide-and-conquer recurrences
Huffman Coding Calculator
Build Huffman codes and a tree from symbol frequencies
Hash Table Simulator
Insert keys and follow how hash collisions are handled
Banker's Algorithm Calculator
Check safe resource sequences and proposed requests
FIRST and FOLLOW Calculator
Find FIRST and FOLLOW sets for a grammar
Left Recursion and Left Factoring Calculator
Remove left recursion and left factor a grammar step by step
Operator Precedence Parser
Build precedence tables and trace how a string is parsed
Parse Tree Generator and Ambiguity Checker
Draw parse trees and see leftmost and rightmost derivations
Recursive Descent Parser Generator
Generate a C or Python recursive descent parser from a grammar
Attribute Closure Calculator
Find attribute closure and check whether a set is a superkey
Candidate Key Finder
Find candidate keys from functional dependencies
BCNF & 3NF Normalization Checker
Find keys, minimal cover and test 2NF, 3NF and BCNF
SQL to Relational Algebra
Turn SQL into relational algebra and compare query trees
CPU Scheduling Calculator
Compare CPU schedules with Gantt charts and waiting times
Page Replacement Calculator
Compare page replacement algorithms and count page faults
Memory Allocation Calculator
Place processes in memory and compare four fit strategies
IEEE 754 Converter
Convert decimal numbers to 32- and 64-bit IEEE 754 floating-point bits
Cache Mapping Calculator
Split cache addresses into bits and simulate hits and misses
Disk Scheduler
Compare disk scheduling paths and total head movement
LL(1) Parser
Build an LL(1) table, check conflicts and trace a parse
LR Parser (LR(0), SLR, LALR, CLR)
Build LR parsing tables and trace shifts and reductions
Three Address Code Generator
Turn expressions and simple control flow into three-address code
Derivative Calculator
Find a symbolic derivative and evaluate the slope at a point
Definite Integral Calculator
Estimate a definite integral between two bounds
Linear System Solver
Solve up to five simultaneous linear equations
Statistics Calculator
Find averages and standard deviation with every step
Probability Distribution Calculator
Find probabilities for normal, binomial and Poisson distributions
Neural Network Parameter & FLOPs Calculator
Estimate dense neural network parameters and forward-pass work
Confusion Matrix Calculator
Find accuracy, precision, recall and F1 from prediction counts
Statistical Significance Test Calculator
Run t-tests or a chi-square test and see the p-value
Sample Size Calculator
Estimate the sample size needed to measure a proportion
Truth Table Generator
Build a truth table for a Boolean expression
Karnaugh Map Solver
Simplify Boolean functions on a two- to four-variable map
CGPA to Percentage Converter
Convert CGPA and percentage using your university's formula
Discrete Convolution Calculator
Compute linear convolution, circular convolution, and DFT
Basic Blocks and Flow Graph
Split three-address code into blocks and draw control flow
Code Optimizer
Step through optimizations of integer three-address code
Lexical Analyzer
Split C-like source into tokens and see their classes
Phases of a Compiler
Follow an assignment through each stage of compilation
Infix to Postfix and Prefix
Convert expressions to postfix or prefix with a stack trace
Data-Flow Analysis
Trace reaching definitions or live variables across code blocks
Simple Code Generator
Turn three-address code into register-machine instructions
Activation Records and Parameter Passing
Follow stack frames and compare parameter passing methods
CFG to CNF Converter
Convert a grammar to Chomsky normal form step by step
CYK Parser
Test a word with CYK and inspect the parse table and tree
SDT Annotated Parse Tree
See expression values and declaration types on annotated trees
Category In-Depth Guide & Best Practices
Frequently Asked Questions
Can I calculate cumulative GPA?
Yes, our GPA calculator supports both semester and cumulative credit weight calculations.
Are the automata and scheduling results textbook-correct?
Yes. The scheduling, page-replacement, grammar and parsing algorithms are covered by an automated test suite that checks them against worked examples from Silberschatz and from Aho et al. (the dragon book).
Why are the CS theory tools filed under Student?
They used to sit in a catch-all Engineering category alongside resistor calculators. Coursework tools and hardware calculators have different audiences, so the automata, parser, scheduling and logic tools moved here.