When two people each have items the other wants, both people can determine the values of the items and provide the amount that results in an optimal allocation of resources. Therefore, if an individual has 20 pounds of rice that he values at $10, he can exchange it with another individual who needs rice and who has something that the individual wants that's valued at $10. A person can also exchange an item for something that the individual does not need because there is a ready market to dispose of that item.
As Orlove noted, barter may occur in commercial economies, usually during periods of monetary crisis. During such a crisis, currency may be in short supply, or highly devalued through hyperinflation. In such cases, money ceases to be the universal medium of exchange or standard of value. Money may be in such short supply that it becomes an item of barter itself rather than the means of exchange. Barter may also occur when people cannot afford to keep money (as when hyperinflation quickly devalues it).
For instance, each time Apple releases a new version of the iPhone, the second-hand market for older versions of the iPhone enjoys a flurry of activity. However, you do have to be as careful with the barter of used goods as you would be with the purchase of used goods. Be sure everything is in working order and shows no signs of significant damage.
Economic historian Karl Polanyi has argued that where barter is widespread, and cash supplies limited, barter is aided by the use of credit, brokerage, and money as a unit of account (i.e. used to price items). All of these strategies are found in ancient economies including Ptolemaic Egypt. They are also the basis for more recent barter exchange systems.
Put a price tag on it. Successful bartering must result in the satisfaction of both parties. This can only happen if the items bartered are realistically valued. If you have an item you would like to trade, obtain an accurate appraisal. An item is only worth what someone is willing to pay for it. Therefore, do your research and look at the "selling" section on eBay to find out what online buyers have paid for similar items.
In his analysis of barter between coastal and inland villages in the Trobriand Islands, Keith Hart highlighted the difference between highly ceremonial gift exchange between community leaders, and the barter that occurs between individual households. The haggling that takes place between strangers is possible because of the larger temporary political order established by the gift exchanges of leaders. From this he concludes that barter is "an atomized interaction predicated upon the presence of society" (i.e. that social order established by gift exchange), and not typical between complete strangers.