This calculator converts a ratio of two values into decibels, handling both power ratios and amplitude, or field, ratios. The decibel is a logarithmic unit used to express how much larger or smaller one quantity is than another, and it appears throughout sound, electronics, optics and communications. Its logarithmic nature is what makes it so useful: human senses, especially hearing, respond roughly logarithmically, and quantities in engineering can span an enormous range, so compressing them onto a decibel scale keeps the numbers manageable. A key subtlety trips many people up: there are two decibel formulas. For power-like quantities, such as acoustic or electrical power and intensity, the decibel value is ten times the base-ten logarithm of the ratio. For amplitude-like quantities, such as voltage, current or sound pressure, it is twenty times the logarithm, because power is proportional to amplitude squared. This calculator lets you choose the right one. You enter the measured value and the reference value it is compared against, pick power or amplitude mode, and it returns the result in decibels, positive for a gain and negative for a loss. It also shows the underlying ratio. The results update as you type, so you can build a feel for the scale: a power ratio of ten is ten decibels, a hundred is twenty, and a thousand is thirty. Use it for audio and acoustics, for signal gain and attenuation in electronics, or for any logarithmic comparison. Remember that a decibel is always relative to a reference, so the reference you choose defines what the figure means. The calculation is rounded for display.
Power ratios use 10 log10; amplitude/voltage ratios use 20 log10. Positive is a gain, negative a loss. The reference defines the meaning. Rounded for display.
The decibel value is a multiple of the base-ten logarithm of the ratio of the measured value to the reference. For power or intensity the multiplier is ten; for amplitude quantities such as voltage or sound pressure it is twenty, because power goes as amplitude squared. A positive result means the measured value exceeds the reference.
For a measured power of 100 against a reference of 1, in power mode, the result is 10 times the base-ten logarithm of 100, which is 10 times 2, equals 20 decibels. In amplitude mode the same ratio gives 20 times 2, which is 40 decibels. A ratio of 1 always gives 0 decibels.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.