CSS pow(), sqrt(), hypot() Demo - Online Trigonometric Functions
Experiment with exponential, square root, and hypotenuse functions in CSS. See live computed values. Modern CSS math.
UD5 Toolkit
Interactive visualization of CSS trigonometric functions with real-time animation
Chrome 111+ Firefox 108+ Safari 15.4+
CSS sin()/cos()/tan() are widely supported in all modern browsers (2023+)
sin(30deg) returns 0.5. They're typically used inside calc() expressions for layout calculations, animations, and positioning.
deg, rad), while JavaScript's Math.sin() expects radians. In CSS, sin(90deg) = 1 is intuitive. In JS, you'd need Math.sin(Math.PI / 2). CSS functions also integrate seamlessly with calc() and CSS custom properties.
--angle as a <angle> type, animate from 0deg to 360deg, and use transform: translate(calc(sin(var(--angle)) * 100px), calc(cos(var(--angle)) * 100px)) for circular motion.
tan(90deg) returns an extremely large value (β 1.63Γ10ΒΉβΆ in practice). This can cause layout overflow or elements to disappear off-screen. Always constrain tan() values with clamp() or ensure your angles stay within safe ranges (e.g., -45Β° to 45Β°).
calc(sin(var(--a)) * 100px + cos(var(--b)) * 50px). This is powerful for creating complex motion paths. For circular motion, use sin() for X and cos() for Y (or vice versa depending on starting position). The functions return plain numbers, so multiply by a length unit to get usable CSS values.
sin(0.5turn) = 0, sin(3.1416rad) β 0, sin(180deg) = 0. Use whichever unit fits your mental model best!
sin(ΞΈ) oscillates between -1 and 1, making it perfect for smooth back-and-forth animations, bouncing effects, and wave patterns in CSS.
cos(ΞΈ) = sin(ΞΈ + 90Β°). It's identical to sin but shifted by 90Β°. Use cos() when you need an element to start at maximum displacement rather than zero.
tan(ΞΈ) = sin(ΞΈ)/cos(ΞΈ). It has vertical asymptotes where cos(ΞΈ)=0 (90Β°, 270Β°). Use with care and consider wrapping in clamp() for safety.
Experiment with exponential, square root, and hypotenuse functions in CSS. See live computed values. Modern CSS math.
Full-featured scientific calculator with trigonometric, logarithmic, and exponential functions. Clean interface and keyboard support. No installation required.
Convert angles between degrees, radians, and grads. Quick reference for mathematics and engineering. Simple and ad-free.
Generate flowing geometric art by layering sine waves with different frequencies, amplitudes, and colors. Download SVG.
Build a horizontal scrollβsnap container with configurable snapβtype and alignment. Perfect for image galleries.
Enter release height and speed to compute the optimal launch angle for maximum distance. Simple projectile model.
Enter drum diameter, depth, and material to find the shell's approximate fundamental note. For tuning reference.
Select knife type and see recommended sharpening angle. Visual guide with degree display. Perfect edge every time.
Convert rabbit age to human years considering their rapid early maturation. Fun tool for house rabbit owners. Local only.
Enter the initial amount, halfβlife, and time to find remaining quantity. Nuclear science helper.
Estimate monthly mortgage payments with amortization schedule. Input loan amount, interest rate, and term. All calculations performed securely on your device.
Advanced metronome with eighth, triplet, and sixteenth note subdivisions. Accent controls. Web Audio scheduling.
Select a latitude to see a 2D sun path chart for solstices and equinoxes. Passive design tool.
Calculate the time needed to deposit a certain mass of metal using current. Chemistry lab tool.
Calculate semester or cumulative GPA on a 4.0 scale. Add courses, credit hours, and letter grades. Instant calculation. No data storage.
Click through the rock cycle to see how each rock type transforms into another. Animated arrows and descriptions.
Select the material you're drilling into and see the recommended point angle and lip clearance. Sharpen bits correctly.
Calculate your weekly, monthly, or annual pay based on hourly wage and hours. Include overtime rates. Accurate and private.
Find the date of Easter Sunday for any given year. Learn about the computus algorithm. Simple and accurate.
Estimate due date from last menstrual period or conception date. Uses Naegele's rule and shows week-by-week milestones. Local calculator for informational use.
Select your OS, IDE, and programming language to generate a complete .gitignore file. No typing required.
Convert cat age to human years using updated veterinary guidelines (not simple 1:7). Provides life stage context. Local only.
Accurate online stopwatch with lap and split time capabilities. Start, pause, and reset. Ideal for sports and presentations. Runs natively in the browser.
Identify the correct spline diameter needed to replace a window screen. Visual comparison and sizing tool.
Build a color palette for charts that works for protanopia, deuteranopia, and grayscale. Export as array.
Pick a color for each day's mood and see a monthβatβaβglance heatmap. Data stored locally. A private emotional log.
Enter log pile dimensions to calculate cords and face cords. Also estimate heat content in BTUs by wood species. Local reference.
Adjust recommended tire pressure for extra load or high speed. Simple reference chart.
Convert guinea pig age to approximate human years. Cute facts included. For guinea pig lovers. 100% local.
Enter a chemical formula (e.g., H2O, C6H12O6) and calculate its molar mass. Handles parentheses and hydrates. Pure frontend.