# How to work out what CRC calculation to use?

**URL:** <https://discourse.nodered.org/t/how-to-work-out-what-crc-calculation-to-use/50913>\
**Category:** General\
**Created:** [12 September 2021 07:44 UTC](https://discourse.nodered.org/t/how-to-work-out-what-crc-calculation-to-use/50913 "2021-09-12T07:44:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [12 September 2021 07:51 UTC](https://discourse.nodered.org/t/how-to-work-out-what-crc-calculation-to-use/50913/2 "2021-09-12T07:51:08Z")

</div>

I found this forum thread and it appears to work with each of my requests so i assume now this is using standard Modbus CRC16

> [@How to calculate CRC-16 (Modbus)?](https://discourse.nodered.org/t/how-to-calculate-crc-16-modbus/48955):
>
> Hi everyone, I am trying to calculate CRC with a function I got from Node-RED forum, but when there is a 0 at the end or at the beginning of the CRC, it does not identify it, and I just get three bytes. The fact is that I do not want to download any node, only a function for the CRC-16 (Modbus) like a frame like this: 010600000001 + CRC Could anyone help me please? Thank you very much, Q.

Craig

---

_[View the full topic](https://discourse.nodered.org/t/how-to-work-out-what-crc-calculation-to-use/50913)._
