The paper considers the principles of contextual advertising are given, statistical analysis of data on the cost of transition in contextual advertising from the Google search engine is presented. The basis of the analysis is the graphical method Boxplot. The results of the analysis of Internet users' inquiries in consumer search help to correctly plan the advertising budget and distribute it on the ads, increasing profitability. Advertising in the context has a direct impact on sales, allowing you to bring the target audience to online stores or to sites that advertise the services of certain companies. This type of advertising is used to increase sales, launch new products and services on the market, as an additional advertising tool.