Barcode.ISBNChecksum
--------------------

Calculates checksum for ISBN barcodes.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Barcode](component_Barcode.md) | [5.0](newinversion50.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Barcode.ISBNChecksum"; Text ) 

**MBS**( **"Barcode.ISBNChecksum";** /\* Calculates checksum for ISBN barcodes. \*/  
**$Text**) /\* The text with the numbers for the barcode.  
Do use text and not number, where starting zeros would be skipped.e.g. "12345" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The text with the numbers for the barcode.   Do use text and not number, where starting zeros would be skipped. | "12345" |

### Result

The checksum as text.

### Description

Calculates checksum for ISBN barcodes.  
We have a ISBN 10 and ISBN 13 algorithm depending on how many digits you pass.  
Please make sure input has always 10 or 13 digits!  
### Examples

Calculates checksum for ISBN:

 MBS ( "Barcode.ISBNChecksum"; "074755100" )  
// returns 6 for 9 digit ISBN.  
<small>  
Example result: 6</small>Calculates checksum for an ISBN 10:

 MBS ( "Barcode.ISBNChecksum"; "0-306-40615-0" )  
\# pass any value for the checksum, if you don't know it.   
<small>  
Example result: "2"</small>Calculate checksum for a ISBN 13:

 MBS ( "Barcode.ISBNChecksum"; "978-0-306-40615-7" )  
<small>  
Example result: "7"</small>### See also

- [Barcode.EANChecksum](BarcodeEANChecksum.md)
- [Barcode.UPCChecksum](BarcodeUPCChecksum.md)

### Release notes

- **Version 9.4**
    - Changed [Barcode.EANChecksum](http://www.mbsplugins.eu/BarcodeEANChecksum.shtml), [Barcode.ISBNChecksum](http://www.mbsplugins.eu/BarcodeISBNChecksum.shtml) and [Barcode.UPCChecksum](http://www.mbsplugins.eu/BarcodeUPCChecksum.shtml) to only use digits and ignore spaces or dashes in input.

### Blog Entries

- [MBS FileMaker Plugin, version 9.4pr5](https://www.mbsplugins.de/archive/2019-09-05/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 5.0 for OS X/Windows - More than 3000 Functions In One Plugin](https://www.mbsplugins.de/archive/2015-02-24/MBS_FileMaker_Plugin_50_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 5.0pr9](https://www.mbsplugins.de/archive/2015-02-01/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 26th January 2015 , last changed 25th February 2026

  
[Barcode.GetPrimary](BarcodeGetPrimary.md) - [Barcode.LibVersion](BarcodeLibVersion.md)

[HTML Version](BarcodeISBNChecksum.shtml)