A trade deficit is said to occur when the value of a country's imports exceed the value of its exports, that is a country is buying more goods and services than it is selling.
On the other hand a trade surplus is said to occur when the value of a country's exports exceed the value of its imports, that is a country is buying lesser goods and services than it is selling.
The imports and exports(in US thousand dollars) of five countries in the year 2007 is as given in the table.
| COUNTRY | IMPORT | EXPORT |
| AZ | 958 | 683 |
| BY | 1120 | 1210 |
| CX | 5 | 12 |
| DW | 568 | 480 |
| EV | 7622 | 7922 |
The percentage change in the import and export in 2008 over the previous year is given in the table below-
| COUNTRY | IMPORT | EXPORT |
| AZ | -20% | 10% |
| BY | 10% | No change |
| CX | 40% | -50% |
| DW | 10% | 10% |
| EV | No change | 2% |