# How to measure ber and snr

**URL:** <https://www.ruby-forum.com/t/how-to-measure-ber-and-snr/230894>\
**Category:** GNU Radio\
**Created:** [July 11, 2014, 4:20am UTC](https://www.ruby-forum.com/t/how-to-measure-ber-and-snr/230894 "2014-07-11T04:20:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 11, 2014, 4:20am UTC](https://www.ruby-forum.com/t/how-to-measure-ber-and-snr/230894/1 "2014-07-11T04:20:10Z")

</div>

hi ,  
how to measure ber and snr in gnuradio ?is there any blocks about this?  
thanks,  
bzs

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 11, 2014, 9:33am UTC](https://www.ruby-forum.com/t/how-to-measure-ber-and-snr/230894/2 "2014-07-11T09:33:30Z")

</div>

Hi BZS,

haven’t seen you in a long time! Welcome back 🙂

If you use the search tool in gnuradio-companion, you will find the BER  
block, which has two inputs and will output an BER measurement.

SNR is highly dependent on what you consider to be signal and what you  
consider to be noise, so for most cases you will have to make your own  
Signal Power measurement and divide that by a noise power estimate.

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 11, 2014, 10:45am UTC](https://www.ruby-forum.com/t/how-to-measure-ber-and-snr/230894/3 "2014-07-11T10:45:35Z")

</div>

On 07/11/2014 09:31 AM, Marcus M. wrote:

> Hi BZS,
> 
> haven’t seen you in a long time! Welcome back 🙂
> 
> If you use the search tool in gnuradio-companion, you will find the BER  
> block, which has two inputs and will output an BER measurement.
> 
> SNR is highly dependent on what you consider to be signal and what you  
> consider to be noise, so for most cases you will have to make your own  
> Signal Power measurement and divide that by a noise power estimate.

That said, we have SNR estimators for certain modulations. Check the  
manual, and make sure you have a basic grasp of the underlying theory  
before you use them.

M
