Viewport Unit Calculator β Online vw vh vmin vmax to PX
Enter a CSS value in vw/vh and see the actual pixel size at current viewport. Dynamic resize demo.
UD5 Toolkit
Perform AND, OR, XOR, NOT, and bit shift operations with instant binary visualization
| A | B | AND | OR | XOR |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 |
42 & 15 extracts the lower 4 bits of 42 (since 15 = 0b1111), resulting in 10.
~n equals -(n + 1). For example, ~5 = -6. This is because flipping all bits of 5 (0b...00000101) produces 0b...11111010, which is the two's complement representation of -6. The NOT operation is useful for creating inverted masks and implementing subtraction circuits.
-8 >> 1 = -4 (still negative), but -8 >>> 1 = 2147483644 (becomes a large positive number).
x << 3 (multiply by 8) is significantly faster than x * 8 on many architectures. Compilers often optimize multiplication/division by powers of two into bit shifts automatically. This efficiency is critical in embedded systems, game engines, and performance-sensitive applications.
>>>), the result is displayed as an unsigned 32-bit integer (range: 0 to 4,294,967,295).
Enter a CSS value in vw/vh and see the actual pixel size at current viewport. Dynamic resize demo.
Calculate projector throw distance or screen image size based on throw ratio. Visualize setup. Essential for home theater planning. Local.
Track your subscriptions, calculate monthly and yearly totals, and find savings by pausing unused services. Local data.
Find the optimal TV size for your room or the best viewing distance based on screen size and resolution (1080p, 4K, 8K). Simple THX/SMPTE reference.
Enter row length and seed spacing to calculate how many seeds/packets to buy. Reduce waste.
Calculate how much liquid fertilizer concentrate to add per gallon of water based on desired N concentration.
Enter any two variables (speed, distance, time) and get the third. Supports mph, km/h, m/s and multiple units. Practical for runners and drivers.
Compute the Euclidean distance between two points in 2D or 3D space. Also shows midpoint. Quick geometry helper.
Based on your calorie goal, get the perfect gram split of proteins, carbs, and fats. Adjust ratios. For fitness and health.
Calculate how much water to change weekly to keep nitrates under control. Based on current nitrate level, desired level, and tank volume.
Determine your ideal daily macronutrient intake based on TDEE, goal, and diet preference. Free nutrition planning tool with local computation.
Enter area to calculate how many epoxy floor kits you need. Consider priming coat.
Enter tank volume and recommended dose to find exact ml or capfuls needed. Avoid overdosing fish.
Convert between inches of mercury and hectopascals for altimeter setting. Essential for pilots.
Enter a date and location to see moonrise/set times and azimuths. Essential for planning moonlit landscapes.
Select drip speed or running toilet and see gallons wasted per day and annual cost. Fix leaks!
Calculate how much fertilizer to add based on desired NβPβK ppm and water volume. For hydroponics and soil growers.
Calculate how much pure ammonia to add to reach 4ppm for a fishless cycle. Safe start guide.
Calculate how many vegetable plants fit in a given area using square foot gardening or row spacing. Visual plant grid. Plan your spring garden.
Enter pond volume and product concentration to determine safe ml or teaspoon of algaecide.
Calculate probability of k successes when sampling without replacement. Useful for quality control and card games.
Calculate grout needed (lbs or kg) based on tile size, grout joint, and area. Also recommend spacer size. Local estimator.
Calculate how much acid, alkaline buffer, or remineralizer to add to reach target water parameters.
Enter a package name and version range to see all satisfying versions from the registry. Understand ^ and ~.
Enter wattage, hours per day, and your electricity rate to calculate daily, monthly, and annual cost. Save energy.
Calculate liquid or tablet dosage for dogs/cats based on weight and prescribed mg/kg. Check your vet's math. Educational, always consult vet.
Calculate critical care formula volume based on weight. For rabbits, guinea pigs, etc.
Estimate how much rope you need to restring a djembe and the number of verticals. Get traditional Mali weave instructions.
Calculate water volume for flushing soil based on pot size. Includes recovery timeline reminders.
Enter your exit weight and canopy size to calculate wing loading. Helps determine if you're within the safe recommended range.