Earnings per Share - Reconciliation of Income and Share Data Used in Basic and Diluted Earnings Per Share Computations (Detail) - USD ($) shares in Thousands, $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2015 |
Sep. 30, 2014 |
Sep. 30, 2015 |
Sep. 30, 2014 |
|
| Earnings Per Share [Abstract] | ||||
| Net earnings attributable to WEX Inc. available for common stockholders – Basic and Diluted | $ 32,166 | $ 74,443 | $ 81,003 | $ 154,318 |
| Weighted average common shares outstanding – Basic (in shares) | 38,745 | 38,867 | 38,780 | 38,896 |
| Unvested restricted stock units (in shares) | 46 | 74 | 55 | 85 |
| Stock options (in shares) | 17 | 20 | 17 | 23 |
| Weighted average common shares outstanding – Diluted (in shares) | 38,808 | 38,961 | 38,852 | 39,004 |