Base Converter - Convert between Binary, Decimal, Hexadecimal, and Custom Base
Input Value:
Source Base:
Target Base:
Converted Values
Binary:
Decimal:
Hexadecimal:
Custom Base (16):
A base converter, also known as a radix converter, is a tool that allows you to convert numbers from one base to another. The most common bases are binary (base 2), decimal (base 10), and hexadecimal (base 16). However, base converters can also be used to convert to and from other bases, such as octal (base 8), duodecimal (base 12), and vigesimal (base 20).
Base conversion is useful in a variety of fields, including computer science, mathematics, and engineering. For example, binary numbers are used to represent data in computers, while hexadecimal numbers are often used in electronic circuits and computer programming.
How to convert between binary, decimal, and hexadecimal
To use a base converter, simply enter the number that you want to convert in the input field and select the from and to bases. The base converter will then calculate the converted number and display it in the output field.
Examples of base conversion
Binary to decimal: Convert the binary number 101101 to decimal
101101 = 1 * 2^5 + 0 * 2^4 + 1 * 2^3 + 1 * 2^2 + 0 * 2^1 + 1 * 2^0 = 45
Decimal to hexadecimal: Convert the decimal number 100 to hexadecimal.
100 / 16 = 6 R 4
6 / 16 = 0 R 6
Therefore, the hexadecimal equivalent of 100 is 64.
Hexadecimal to binary: Convert the hexadecimal number 64 to binary.
6 * 16^1 + 4 * 16^0 = 96 + 4 = 100
Therefore, the binary equivalent of 64 is 100000.
Base converters are a valuable tool for anyone who works with numbers. If you need to convert numbers between different number systems, or if you want to learn more about number systems, then I encourage you to use a base converter.
Popular Tools
- Base converter
- Byte Converter
- Base64 Encoder & Decoder
- JSON Formatter/Validator
- Color Picker
- QR Code Generator
- Currency Converter
- Text Comparison Tool
- Lorem Ipsum Generator
- Regex Tester
- My IP Address Lookup
- Password Generator
- Hash Generator
- Random Name Generator
- URL Shortener
- URL Encoder/Decoder
- Timestamp Converter
- Cron Schedule Generator
- CIDR Calculator
- Loan EMI Calculator
- Insurance Needs Calculator
- Retirement Planner
- Dice Roller
- Random Facts Generator
- Riddle of the Day
- Trivia Quiz - Test Your knowledge
- Typing Speed Test
- Word Unscrambler
- Age Calculator
- Random Number Generation
- BMI Calculator
- Countdown Timer
- Measurement Converter
- Password Strength Checker
- QR Code Scanner
- Random Quote Generator
- Temperature Converter
- Text to Speech Converter
- Time Converter
- Time Zone Converter
- Tip Calculator
- Text Analyzer
- Joke of the Day
- Meditation Timer
- Quote of the Day
- Area Converter
- Area and Perimeter Calculator
- Exponent Calculator
- Fibonacci Number Finder
- GCD and LCM Calculator
- Leap Year Detector
- Logarithm Calculator
- Percentage Calculator
- Prime Factorization Tool
- Prime Number Checker
- Probability Calculator
- Quadratic Equation Solver
- Roman Numeral Converter
- Trigonometric Functions Calculator
- Random Number Generator
- Scientific Calculator
- pH Calculator
- Stock Average Calculator