Thursday, 09 February 2012

Check Credit Card Digit

Category : Tips
Credit cards numbers use check digits to guard against mistakes and to check for validity. In the section the credit cards MasterCard, VISA, American Express, and Discover will be considered. All of these cards use the same format for determining and verifying check digits.

Why have a check digit in a credit card number?:

  • It can determine if a person keys in a number incorrectly
  • If  a credit card is scanned it can determine of the scanner made a mistake

When dealing with credit cards it is important to realize that some have different lengths and have different prefixs.

  • MasterCard is of length 16 and has a prefix of 51, 52, 53, 54, 55
  • VISA is of length 13 or 16 and has a prefix of 4
  • American Express is of length 15 and has a prefix of 34 or 37
  • Discover is of length 16 and has a prefix of 6011

All of the above credits use (mod 10) to determine a check digit, and in all cases the check digit is the right-most digit in the number. To determine the check digit for a credit card follow the below steps.

NOTE: In MasterCard and VISA include the prefix digits in the calculation. In American Express and Discover the prefix digits are omitted from all calculations.

NOTE: For the below example we consider a random possible MasterCard number 5368235896831135.

Step 1: Starting from the second digit from the right and moving towards the left, multiply every digit by 2.

3*2 = 6
1*2 = 2
8*2 = 16
9*2 = 18
5*2 = 10
2*2 = 4
6*2 = 12
5*2 = 10

Step 2: Sum the digits from Step 1.

6 + 2 + 1 + 6 + 1 + 8 + 1 + 0 + 4 + 1 + 2 + 1 + 0 = 33

Step 3: Sum all of the digits not originally mutliplied by 2.

3 + 8 + 3 + 8 + 6 + 3 + 1 = 32

Step 4: Sum together the results from Step 2 and Step 3.

33 + 32 = 55

Step 5: Subtract the sum from the next highest multiple of 10.

60 -55 = 5 [check digit]

A person can determine if the check digit  of a given credit card is valid by   repeating Steps 1, 2, 3, 4 above for all digits, including the check digit. The sum, s, obtained in Step 4 should  be s = 0(mod 10). In our case 60 = 0 (mod 10).



Like this articles? share it with Share With FacebookFacebook
<< Back
0 Comment | 1769 hits | Posted by Callrid at 2008-02-06 14:31:37

Related Read

Add Comment
Name :
Web :
Comment :

Code :
 

Other Source
A Practical Guide On Complete Multivitamins
Many of us have a hard time deciding what the best multivitamin is for us. This is completely confusing and difficult especially when there are so many bottles to scan in the various aisles of the...

High Blood Pressure
The nutritional benefits of low-fat dairy products are well known for ages. The latest studies show that the ingredients of dairy products - some combination of milk proteins are effective and...

Welcome To Mimicwatch.com - Quality Luxury Replica Vacheron Constantin Watches At Affordable Price
When entering our online store at Mimicwatch.com, you are given an unique opportunity to choose among a wide selection of famous Replica Watches and Replica handbags such as Replica Vacheron...

Ebook Marketing Tips
A great way to have a product to sell on the Internet is an e-book which almost anyone can create. There is no longer any need for delaying with the simple process detailed below. If you are afraid...

Tactical Asset Marketing
Asset Management Different Asset Allocation Strategies Asset marketing is the process of dividing a portfolio into major asset categories such as cash, stocks, real estate, or...

Shout Box
2012-02-09 20:35:25 
asym
tukang koleksi lagu armada masuk kesini ya,
2012-02-06 19:57:17 
rumah dijual
selalu dagdigdug kalau bertemu dia
2012-02-03 05:38:35 
mobil bekas
jalan-jalan
2012-02-02 19:39:38 
Meilani
wkwkwkwkwk
2012-02-01 12:38:12 
Software Akuntansi
Software Akuntansi Laporan Keuangan Terbaik

Site Partners


Search Articles

Web Statistic
No Visitor :
2710207
Today Visitor :
2772
Online Visitor :
1
what is my ip address? Page Rank Checker

< Feb 2012 >
SMTWTFS
   1234
567891011
12131415161718
19202122232425
26272829

Increase Page Rank

Last Modified 08-November-2011, 23:21:04 pm
callrid.com Created 2006-2010 by Anton Ongsono
All rights reserved