ifdp · April 30, 2026

Tariffs and Goods-Market Search Frictions

Abstract

We study tariffs in a general equilibrium dynamic model with search frictions between heterogeneous exporting producers and importing retailers. We show the model has a unique equilibrium and analytically characterize home unilateral import tariffs that maximize welfare given a passive foreign country. Search frictions add two terms to the standard optimal tariff expression: One lowers tariffs when contact rates are low; another when private export costs exceed social opportunity costs. Search frictions also introduce new incentives to subsidize imports due to market thickness effects. We calibrate our baseline to U.S. and Chinese 2016 data. We compare this baseline to a counterfactual with international search costs reduced to domestic levels but with all other parameters fixed. We find that higher baseline search costs reduce optimal U.S. unilateral and Nash tariffs and attenuate welfare responses to tariff changes.

Board of Governors of the Federal Reserve System International Finance Discussion Papers ISSN 1073-2500 (Print) ISSN 2767-4509 (Online) Number 1437 April 2026 Tariffs and Goods-Market Search Frictions Pawel M. Krolikowski and Andrew H. McCallum Please cite this paper as: Krolikowski,PawelM.andAndrewH.McCallum(2026). “TariffsandGoods-MarketSearch Frictions,” International Finance Discussion Papers 1437. Washington: Board of Governors of the Federal Reserve System, https://doi.org/10.17016/IFDP.2026.1437. NOTE: International Finance Discussion Papers (IFDPs) are preliminary materials circulated to stimulate discussion and critical comment. The analysis and conclusions set forth are those of the authors and do not indicate concurrence by other members of the research staff or the Board of Governors. References in publications to the International Finance Discussion Papers Series (other than acknowledgement) should be cleared with the author(s) to protect the tentative character of these papers. Recent IFDPs are available on the Web at www.federalreserve.gov/pubs/ifdp/. This paper can be downloaded without charge from the Social Science Research Network electronic library at www.ssrn.com.

Tariffs and Goods-Market Search Frictions * Pawel M. Krolikowski † Andrew H. McCallum ‡ April 7, 2026 Abstract We study tariffs in a general equilibrium dynamic model with search frictions between heterogeneous exporting producers and importing retailers. We show the model has a unique equilibrium and analytically characterize home unilateral import tariffs that maximize welfare given a passive foreign country. Search frictions add two terms to the standard optimal tariff expression: One lowers tariffs when contact rates are low; another when private export costs exceed social opportunity costs. Search frictions also introduce new incentives to subsidize imports due to market thickness effects. We calibrate our baseline to U.S. and Chinese 2016 data. We compare this baseline to a counterfactual with international search costs reduced to domestic levels but with all other parameters fixed. We find that higher baseline search costs reduce optimal U.S. unilateral and Nash tariffs and attenuate welfare responses to tariff changes. JEL codes: C78, D62, D83, F12, F13. Keywords: Optimal tariffs, trade policy, efficiency, welfare, social planner, bargaining, market tightness. *We thank Svetlana Demidova (discussant), Dave Donaldson, Lukasz Drozd (discussant), Doireann Fitzgerald (editor), Agustin Gutierrez, Andrei Levchenko, Robert Staiger, and an anonymous referee for helpfuladvice. Wealsothankseminarparticipantsatthe2024DynamicQuantitativeTradeConference andthe2026ASSAAnnualMeeting. Theviewsexpressedinthispaperaresolelytheresponsibilityofthe authorsandshouldnotbeinterpretedasreflectingtheviewsoftheBoardofGovernors,theFederalReserve BankofCleveland,ortheFederalReserveSystem. †pawel.krolikowski@clev.frb.org, Federal Reserve Bank of Cleveland, 1455 E 6th St, Cleveland, OH 44114 ‡Correspondingauthor,andrew.h.mccallum@frb.gov,BoardofGovernorsoftheFederalReserveSystem, Washington,DC20551

1 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 1 Introduction We understand little about how tariff policy interacts with search frictions despite the fact that connecting with overseas buyers is a prevalent firm-level search friction faced by exporters (Kneller and Pisu, 2011) and that tariff policy can have large effects on welfare (Costinot and Rodríguez-Clare, 2014). To improve our understanding, we study uniform tariffs in a model with random search between heterogeneous exporting producers and importing retailers in general equilibrium. Our model introduces an endogenous fraction of unmatched exporters that are actively searching for importing partners, but otherwise nests Melitz (2003). These unmatched exporters alter the levels of aggregate variables and the changes in aggregate variables in response to tariffs because when producers are unmatched their associated varieties cannot be traded. We derive three analytical results in this framework. First, we show that the model admits a unique equilibrium. Second, we analytically characterize the unilateral uniform import tariff that maximizes domestic welfare in a two-country setting. With search frictions, the optimal tariff depends not only on the offer curve elasticity—as it does in a model without search frictions—but also on two new terms. An import markdown term relates to the difference between import prices and final consumer prices. A second term relates to additional externalities introduced by search frictions. Third, we characterize the offer curve elasticity in our model and show that search frictions introduce a new incentive to subsidize imports because of endogenous market thickness effects. These results extend those in Costinot, Rodríguez-Clare, and Werning (2020), henceforth CRW, to a setting that includes search frictions. We also obtain two important quantitative results using a realistic calibration that matches U.S. and Chinese data in 2016. First, the optimal U.S. unilateral tariff with baseline search frictions is about 20 percentage points below that in a counterfactual exercise in which international search costs are reduced to domestic search costs, but we otherwise retain the rest of the baseline calibration, ‘‘reduced search frictions’’. Second, search frictions attenuate welfare gains so that optimal tariff effects are not as large as predicted by models with reduced search frictions. Intuitively, this is because search frictions imply fewer matched varieties and mainly tariffs affect aggregates through the intensive margin of only matched varieties. For example, moving from baseline tariffs to optimal unilateral tariffs raises U.S. welfare by about 0.03 with baseline search frictions. But with reduced frictions, moving to optimal tariffs raises U.S. welfare by 1.0 percent. Our new optimal tariff expression implies that the country social planner subsidizes import markets in which the levels of import markdowns are large. The social planner’s solution involves a manipulation of the terms of trade (TOT), as in Dixit (1985) and CRW.

2 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS With search frictions, the TOT include import markdowns so the optimal tariff includes these as well. Intuitively, producers are willing to accept low negotiated prices (large import markdowns) when they face poor outside options driven by low contact rates (high unmatched rates). The social planner stimulates retailer entry in these search markets by setting lower tariffs to increase contact rates. Search frictions also introduce new externalities that affect optimal tariffs. In the decentralized equilibrium of a model without search frictions, there are no allocative inefficiencies. The (negative of the) slope of the production possibility frontier (PPF), the marginal rate of transformation (MRT), is equal to the ratio of the negotiated price indexes received by producers. Search frictions, however, introduce new externalities because producers do not consider their effect on unmatched rates when deciding whether to search or not and how much to produce. In contrast, the social planner explicitly considers the social opportunity cost of production including any effects on unmatched rates, which affect the MRT. Our new optimal tariff expression implies that the social planner sets higher import tariffs when the social opportunity cost of exports exceeds the relative private cost because higher import tariffs reduce exports via balanced trade. Search frictions also create an incentive for country d to subsidize imports from country o. In a model without search frictions, selection introduces increasing returns to scale in the PPF (aggregate production nonconvexities), which affects the offer curve elasticity, as in CRW. In that model, as exports from country o to d rise, producers enter that market, and domestic goods production in o falls, which lowers producer entry in the domestic market. Both of these effects lower the opportunity cost of o exports in terms of domestic goods, which gives rise to increasing returns to scale. These scale effects create an incentive for country d to subsidize imports because subsidies lower the opportunity cost, and therefore the price, of exports from o to d. Search frictions strengthen this effect on the offer curve elasticity for two reasons. First, increasing country o’s exports to country d lowers search frictions in this market because of increased retailer entry in country d, which leads to a higher matched rate. The higher matched rate lowers the opportunity cost of exports. Second, as exports from o to d rise, domestic goods production in country o falls, which lowers retailer entry and the domestic matched rate, and increases the opportunity cost of producing domestic goods. To provide intuition for our analytical results, we present numerical examples with simple assumptions—two symmetric countries and search frictions in only one of four possible markets. These examples confirm our new optimal tariff decomposition and the effects that search frictions have on the offer curve elasticity. The numerical examples also have the following six features. First, the unilateral optimal tariff in a model with search frictions is below that in a model without search frictions, for any positive search

3 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS cost. Second, the optimal tariff declines rapidly as search costs increase. Third, the offer curve elasticity is quantitatively the largest contribution to the level of optimal tariffs. Fourth, in a model with exogenous (finite) unmatched rates and no selection, the economy attains allocative efficiency and the offer curve elasticity formula is the same as in a model without search frictions. Nevertheless, optimal tariffs fall with unmatched rates in this restricted model through their effect on import markdowns. As such, even exogenous search frictions affect the level of optimal tariffs in these examples, because they affect the levels of aggregate variables. Fifth, search frictions also reduce optimal tariffs in a Nash equilibrium. Sixth, optimal tariffs yield a smaller welfare gain relative to free trade in the model with search frictions than without them, echoing the result in Krolikowski and McCallum (2021), henceforth KM, that search frictions attenuate welfare responses to shocks. We stress that these six results are useful for understanding the model’s mechanisms but are not general ones because they are based on our simple numerical example. To obtain a quantitatively realistic environment, we match our model to U.S. and Chinese data in 2016 using the approach in KM. In short, to calibrate international and domestic search costs we use the fraction of firms that export in each country and manufacturing capacity utilization rates. Estimates of tariff and distance elasticities from the literature inform the elasticity of matches with respect to the number of searching producers. In this calibration, search frictions substantially affect optimal tariffs and attenuate the welfare gains from optimal tariff policy. With baseline search frictions, the U.S. and Chinese unilateral optimal tariffs are about 20 percentage points below that in a counterfactual exercise in which international search costs are reduced to domestic search costs, but we otherwise retain the rest of the baseline calibration. This exercise could be motivated by technological innovations that reduce international search costs. For the United States (China), the respective optimal unilateral tariff with baseline search frictions would increase welfare by only 0.03 (0.01) percent relative to the welfare at 2016 tariff levels. In contrast, with reduced search frictions, the optimal unilateral tariffs would raise welfare by about 1 percent in both countries. We also solve for Nash equilibrium tariffs in the model with baseline and reduced search frictions. The optimal U.S. Nash tariff in the model with baseline search frictions is 1.15, below the optimal tariff with reduced search frictions, 1.33. In the Nash equilibrium of the model with baseline frictions, U.S. (Chinese) welfare is 0.2 percent higher (0.7 percent lower) than welfare at 2016 tariff levels.

4 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Related research Search frictions in international goods markets are motivated by direct evidence as in Eaton, Jinkins, Tybout, and Xu (2026). In addition, Kneller and Pisu (2011) find that ‘‘identifying the first contact’’ and ‘‘establishing initial dialogue’’ are more common obstacles to exporting than ‘‘dealing with legal, financial and tax regulations overseas’’ in a survey of U.K. firms. The broad relevance of search frictions is established for labor markets, but also motivated by a variety of other contexts. For example, Wasmer and Weil (2004) study search frictions in credit markets, Lagos and Wright (2005) study search frictions in monetary economics, and Piazzesi, Schneider, and Stroebel (2020) study search frictions in housing markets. Search frictions extend to the contexts of marriage markets (Smith, 2006), insurance markets (Cebul, Rebitzer, Taylor, and Votruba, 2011), and goods markets (Drozd and Nosal, 2012), among others. We also compare our results to past studies of tariff policy, efficiency, and welfare in settings without and with search frictions. Particularly relevant work is by Demidova and Rodríguez-Clare (2009). That paper extends the optimal-tariff results in Gros (1987) to a small country Melitz model. Both models are special cases of the model studied in Felbermayr, Jung, and Larch (2013), which characterizes optimal tariffs in cooperative and noncooperative games for two large countries with heterogeneous producers. CRW generalizes these results beyond homogeneous firms and Pareto-distributed productivity, and to tariffs that vary with firm productivity. Our work complements Grossman, Helpman, and Redding (2024), who study how unexpected tariff hikes affect welfare through renegotiation and new trading relationships in a context of global supply chains. Brancaccio, Kalouptsidi, Papageorgiou, and Rosaia (2023) study global efficiency in markets with search but focus on the international transportation sector. Finally, our work contributes to a vast literature about the welfare gains from trade in models without search frictions (Eaton and Kortum, 2002; Broda and Weinstein, 2006; Broda, Limao, and Weinstein, 2008; Arkolakis, Costinot, and Rodríguez-Clare, 2012; Ossa, 2011, 2014). 2 The model, aggregation, and steady-state equilibrium We present an extension of the continuous-time model of KM with additional details and equations included in Appendix A. 2.1 Model We add tariffs and endogenous wages to the environment in KM, which features search frictions between producers and retailers in domestic and international goods markets. We focus on steady-state implications. The model features D countries. The first subscript denotes the importing (destination) country d and the second subscript denotes the exporting (origin) country o. For example, imports by d from o are denoted IM . do

5 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 2.1.1 Consumers A representative consumer in country d has utility over a constant elasticity of substitution (CES) aggregate of differentiated varieties, q (ω), from all origins, with do elasticity of substitution, σ > 1. The consumer’s problem is (cid:34) (cid:35)µ O (cid:88) 1 max Qµ (1a) dk q (1),q (ω) d dk k=1 (cid:20)(cid:90) (cid:21)µ s.t. Q do = q do (ω)µ 1 dω , (1b) ω∈Ω do O (cid:90) (cid:88) C = p (ω)q (ω)dω, (1c) d dk dk ω∈Ω k=1 dk in which µ = σ/(σ −1), Eq. (1b) defines the subutility from consuming differentiated goods in destination d from origin o, Q , and Eq. (1c) constrains the value of total do consumption in destination country d, C , evaluated at prices paid by final consumers, d p (ω). Solving this problem yields the following demand for each differentiated variety dk p (ω)−σ q (ω) = C do , (2) do d P1−σ d in which P is the price index for the bundle of differentiated varieties in country d, with d more details in Section 2.3.2. Recall that the (negative of the) slope of an indifference curve is the marginal rate of substitution (MRS) between exports, Q , and domestic od goods, Q . We denote this MRS in country d as MRSd , in which the first subscript refers dd od to the imported good from country o and the second to the domestic good in country d. Appendix A.1 shows how to solve the model if we extend the utility function in Eq. (1a) to include a homogeneous good. The representative consumer problem defined by Eq. (1) is static but solving a dynamic problem with discounting yields the same demand functions as in Eq. (2) because there is no storage technology in our model, as shown in Appendix A.1.1. We allow for consumers to transfer resources across time by using the mass of matched relationships in the dd or do market as a storage technology in Appendix A.1.2. We relegate these extensions to appendixes because they reduce tractability and obscure our main results about optimal tariffs. Additionally, the static problem in Eq. (1) is comparable to other static settings, such as CRW.

6 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 2.1.2 The matching function A costly process of search governs how producers and retailers find one another, similar to that in Diamond (1982), Pissarides (1985), and Mortensen (1986). As in many studies of the labor market (e.g., Shimer, 2005), we assume that the matching function takes a Cobb-Douglas form: m(u Nx,v Nm) = ξ(u Nx)η(v Nm)1−η, (3) do o do d do o do d in which ξ is the matching efficiency, η is the elasticity of matches with respect to the number of searching producers, and u Nx and v Nm are the stocks of unmatched do o do d producers and retailers, respectively. Nx and Nm represent the total mass of varieties in o d country o and retailing firms in country d regardless of their match status. The fraction of producing (retailing) firms in country o (d) looking for retailers (producers) in country d (o) is u (v ). do do The matching function in Eq. (3) is homogeneous of degree one. Therefore, market tightness—the ratio of the mass of searching retailers to the mass of searching producers, which we denote κ = v Nm/u Nx—is sufficient to determine contact rates on both do do d do o sides of each do search market. The Poisson rate at which retailers in country d contact producers in country o and the contact rate at which producers in country o contact retailers in country d are respectively given by: χ(κ ) = ξκ−η, κ χ(κ ) = ξκ1−η. (4) do do do do do Only the number of vacancies matters in our model, not the number of retailers. Vacancies can originate from one retailer posting all vacancies, all retailers posting one vacancy each, or anything in between. Nonetheless, we interpret matches as one retailer to one producer, as in Pissarides (2000), and we refer to vacancies and retailers interchangeably. Details about the matching function are in Appendix A.1.3 with details about continuous time Poisson processes in Appendix A.2 of KM. 2.1.3 Producers We index differentiated goods producers by their permanent productivity, φ. We assume this productivity is exogenous and has the same distribution in all countries: Pareto with cumulative distribution function G(φ) = 1−φ−θ so that φ = 1 is the minimum possible value of productivity. We make the standard assumption that θ > σ−1 to ensure that integrals that define aggregate variables are bounded. There are two production costs for differentiated goods. First, producers face a

7 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS variable cost indexed by productivity v(q ,w ,τ ,φ) = q w τ φ−1. (5) do o do do o do This cost function implies a constant-returns-to-scale production function in which labor is the only input. w is the wage in the exporting (origin) country; τ ≥ 1 is an iceberg o do cost such that one unit of the differentiated good arrives in destination d when τ units do are sent from origin o and τ −1 units are lost to physical destruction; and q is the do do amount traded. Second, producers face a fixed cost of production, w f , in which f is in o do do labor units, so that the total production cost is v(q ,w ,τ ,φ)+w f . do o do o do At any instant in time, each producer is in one of three mutually exclusive states. First, the producer could be matched with a retailer with value X (φ) defined by, do rX (φ) = n q −v(q ,w ,τ ,φ)−w f +λ(U (φ)−X (φ)). (6) do do do do o do o do do do In this state, the flow payoff is the revenue obtained from selling q units of the good at do negotiated price n to retailers, less the variable cost, v(q ,w ,τ ,φ), and fixed cost of do do o do production, w f . The negotiated price, n , and the quantity traded, q , are determined o do do do through a bargaining process that we describe in Section 2.2. Matches end exogenously at rate λ, which leads to a capital loss as the producer becomes unmatched. The future is discounted at rate r. Second, the producer could be unmatched but searching with value U (φ) defined by, do rU (φ) = −w l +κ χ(κ )(X (φ)−U (φ)−w s ). (7) do o do do do do do o do The producer pays a flow cost, w l , to generate contacts with retailers. At endogenous o do Poisson rate κ χ(κ ) the producer contacts a retailer and becomes matched, after paying do do the sunk cost, w s , of starting up the relationship. o do Third, the producer could be idle and not expend resources to look for a retailer with value I (φ) defined by, do rI (φ) = w h . (8) do o do Idle producers receive a constant flow payoff, w h . We include an idle state because o do without it, all producers would search in all markets, even if they expect to reject all contacts. Allowing producers to optimally choose not to search in each market is both more general and more intuitive. We assume that creating each producer with heterogeneous productivity, φ, requires a one-time sunk ‘‘exploration’’ cost, ex, similar to di Giovanni and Levchenko (2012). d Appendix A.1.4 has more details about the producers’ value functions.

8 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 2.1.4 Retailers Each retailer is in one of two states. First, the retailer could be matched with a producer and receive value M (φ) defined by, do rM (φ) = p q −t n q +λ(V −M (φ)). (9) do do do do do do do do The flow payoff is the revenue, p q , generated by selling q units of the differentiated do do do good at a final sales price, p , paid by the consumer less the tariff-inclusive cost of do acquiring these goods, t n q . The retailer pays the ad valorem tariff, t , on the do do do do imported value, n q , to the government. The tariff creates a potential wedge between do do producer revenue, n q , in Eq. (6) and retailer cost, t n q , in Eq. (9). Tariff revenues do do do do do are rebated lump-sum from the government to consumers in the destination country as discussed in Section 2.3. When the relationship is destroyed exogenously, at rate λ, the retailer loses the capital value of being matched. All retailers are identical before matching but have differential matched values because of productivity heterogeneity among producers. Second, a retailer could be unmatched with value V defined by, do (cid:90) rV = −w c +χ(κ ) [max{V ,M (φ)}−V ]dG(φ). (10) do d do do do do do The retailer pays a flow search cost, w c , to generate contacts with producers. At d do endogenous Poisson rate χ(κ ), retailing firms meet a producer and, before do consummating a match, learn the productivity of the producer. Retailers then choose between matching with that producer or continuing to search. Because they are uncertain about the productivity of the producer they might meet, retailers take the expectation over all productivities they might encounter when computing their continuation value of searching. There is an unbounded mass of potential retailers that could decide to search. Appendix A.1.5 has more details about the retailers’ value functions. 2.2 Solving the partial-equilibrium search problem Retailing and producing firms use backward induction to maximize their value. The second-stage solution results from jointly Nash bargaining over quantity, q , and do negotiated price, n , after a retailer and producer meet. In the first stage, retailers and do producers—taking the solution to the second-stage bargaining problem as given—choose whether to search for a business partner, or to remain idle. Appendix A.2 solves the search problem in detail.

9 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 2.2.1 Match surplus Define the total private surplus as the value of the relationship to the retailer and the producer less their outside options, S (φ) = X (φ)−U (φ)+M (φ)−V . (11) do do do do do Importantly, S (φ) excludes the government’s value of collecting tariffs from each match do and the government is passive during bargaining. Bargaining over quantity, q , will do maximize total private surplus and bargaining over price, n , will divide the surplus do between the producer and retailer. Appendix A.2.1 derives the surplus in terms of appropriately discounted profits. That appendix also derives the value of a relationship and discusses the expected duration of matches. 2.2.2 Bargaining over quantity Bargaining over quantity implies that the quantity exchanged within matches equates marginal revenue obtained by retailers from consumers with marginal production cost inclusive of tariffs incurred by producers. Our assumptions about the utility and variable cost functions result in an equivalent definition for negotiated quantity in terms of the final consumer price as a markup over marginal production and tariff costs, p (φ) = t µw τ φ−1. (12) do do o do Negotiated quantity is obtained by substituting Eq. (12) into the demand curve, Eq. (2). Appendix A.2.2 discusses bargaining over quantity in detail. 2.2.3 Bargaining over the negotiated price Bargaining over the negotiated price, n , will divide the private surplus, S (φ), do do between producers and retailers according to the ‘‘surplus sharing rule’’, which is: β t (1−β) X (φ)−U (φ) = S (φ), M (φ)−V = do S (φ). (13) do do do do do do β +t (1−β) β +t (1−β) do do in which β is producers’ bargaining power. Eq. (13) nests the sharing rule in KM (Eq. 13) when t = 1. In addition, as the tariff rises, retailers receive a larger fraction of the do surplus to account for their increased import costs: As t → ∞, the fraction of the surplus do received by retailers approaches 1. The negotiated price that splits the surplus according to Eq. (13), if we assume free

10 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS entry into retailer vacancies, V = 0, is do (cid:18) (cid:19) (cid:18) (cid:19) p v(q ,w ,τ ,φ)+w f −w l −κ χ(κ )w s n = (1−γ ) do +γ do o do o do o do do do o do , (14) do do do t q do do in which (r+λ)(1−β) γ ≡ ∈ [0,1]. (15) do r+λ+βκ χ(κ ) do do The equilibrium negotiated price, n , is a convex combination of the tariff-adjusted final do sales price, p /t , and the average total production cost less producers’ search costs. It do do maps to the price of products at the dock or the import price in the data. Eq. (14) is like Eq. 14 in KM, but includes tariffs and endogenous wages. Notice that if the sunk cost, s , do is set to zero, and if producers find retailers immediately (no search frictions) so that the contact rate κ χ(κ ) → ∞, then the negotiated price converges to the final sales price do do less tariffs, n → p /t , which is the markup over marginal cost. Appendix A.2.3 shows do do do that these equations hold for any arbitrary utility function and importer production function. The expression for the negotiated price in Eq. (14) relates to several papers. We make three observations. First, the bilateral price markup in Alviarez, Fioretti, Kikkawa, and Morlacco (2025a,b) is closely related to the negotiated price in Eq. (14). Second, Eq. (14) implies that the relationship between tariffs and import prices is not log linear in general, as assumed in many papers (e.g., Cavallo, Gopinath, Neiman, and Tang, 2021; Javorcik, Pierce, and Wisniewski, 2025). Notice that tariffs cancel from the first term on the RHS, and tariffs affect import prices indirectly through the quantity traded in the denominator of the second term because tariffs affect prices. But the relationship between import prices and tariffs is not log linear because Eq. (14) includes an intercept. Third, and related, the model implies a specification that can be estimated using observed data to recover the tariff pass-through to import prices, as studied in Fajgelbaum, Goldberg, Kennedy, and Khandelwal (2019) and Flaaen, Hortaçsu, Tintelnot, Urdaneta, and Xu (2025), for example. 2.2.4 Producers’ search productivity threshold In the first stage, producers, taking as given the solution to this second-stage bargaining problem from Eqs. (14) and (12), choose whether to search for a business partner or to remain idle. As such, a zero-value condition, U (φ¯ )−I (φ¯ ) = 0, which do do do do can be written as (cid:18) (cid:19) p (φ¯ ) do do q (φ¯ )−v(q (φ¯ ),w ,τ ,φ¯ ) = w F (κ ), (16) do do do do o do do o do t do

11 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS determines producers’ minimum productivity threshold, φ¯ , that makes searching do worthwhile. Eq. (16) equates tariff-adjusted variable profits from the match with the ‘‘effective entry cost.’’ In labor units, the latter is defined as (cid:18) (cid:19) (cid:18) (cid:19) (cid:18) (cid:19) r+λ r+λ r+λ F (κ ) ≡ f + l + 1+ h + s , (17) do do do do do βκ χ(κ ) βκ χ(κ ) β do do do do which is the sum of the fixed cost of production, f , and the (appropriately discounted) do flow cost of searching for a retailer, l , the opportunity cost of remaining idle, h , and do do the sunk cost of starting up a relationship, s . Sometimes we refer to F (κ ) as F . do do do Solve Eq. (16) using our functional forms to get the threshold explicitly as (cid:40) (cid:18) (cid:19)(cid:18) (cid:19) 1 (cid:41) φ¯ do = max 1,µσσ− 1 1 w P o τ do w o F C (κ do ) σ−1 tµ do , (18) d d in which the max operator ensures that the threshold does not fall below the lower bound of the productivity distribution. Detailed discussion of the threshold productivity is in Appendix A.2.4. 2.2.5 Retailer free entry and equilibrium market tightness We assume free entry into the market of unmatched retailers so that V = 0 in Eq. do (10), as in Pissarides (1985) and Shimer (2005). This assumption implies that (cid:90) w c d do = M (φ)dG(φ). (19) do χ(κ ) do φ¯ do This equation defines the equilibrium market tightness, κ , that equates the expected cost do of being an unmatched retailer (left) with the expected benefit from matching (right). To get intuition from Eq. (19), notice that as the expected benefit from retailing rises, free entry implies that retailers enter the search market. This entry raises market tightness, κ , and, through congestion effects, reduces the rate at which searching do retailers contact searching producers, χ(κ ). This increases retailers expected cost of do search (the left-hand side) so that, with free entry into retailing, κ always satisfies Eq. do (19) in equilibrium. With free entry into retailer search, market tightness, κ , is finite if do and only if retailers’ search cost, w c , is positive, as proved in Appendix A.8 of KM. d do 2.3 Aggregation 2.3.1 Fraction of unmatched producers Because of search frictions, in steady state there exists a fraction of unmatched producers (mass of unmatched product varieties) that are actively looking for a retail

12 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS partner. This fraction of unmatched producers is given by u λ do = , (20) 1−i λ+κ χ(κ ) do do do in which u is the fraction of producers that are unmatched and searching and do u /(1−i ) is the fraction of active producers that are unmatched adjusted by the do do fraction of producers that will ever search, 1−i . The fraction of idle producers, i , that do do choose not to search is defined by the steady-state productivity threshold, φ¯ , and the do exogenous productivity distribution: (cid:90) φ¯ do i = dG(φ) = G(φ¯ ) = 1−φ¯−θ. (21) do do do 1 The unmatched producers characterized by Eq. (20) imply associated unmatched varieties that cannot be consumed and are therefore absent from imports, the indirect utility (welfare) function, and all other aggregates. Appendix A.3.1 derives the elasticity of the fraction of unmatched producers in Eq. (20) with respect to exogenous parameters. 2.3.2 Price index Using the optimal final sales price from Eq. (12) and the other assumptions in Sections 2.1 and 2.2, we derive the price index for differentiated goods in country d: (cid:32) (cid:33)−1 P d = λ 2 C d θ 1− σ− 1 1ρ d , ρ d ≡ (cid:88) D (cid:18) 1− 1− u dk i (cid:19) N k x(w k τ dk )−θ(w k F dk )−[ σ− θ 1 −1] t d 1− k µθ θ , dk k=1 (22) in which λ 2 ≡ (θ/(θ−(σ −1)))− θ 1 σσ− 1 1 − θ 1 µ. More details appear in Appendix A.3.2. Eq. (22) uses the fact that if an unordered set of varieties, Ω , has measure Nx = |Ω |, o o o then the set of varieties above the threshold has measure (1−G(φ¯ ))Nx = (1−i )Nx do o do o and the set of matched varieties that are above the threshold has measure (1−u /(1−i ))Nx. Appendix A.11.1 of KM has details. This measure of goods do do o consumed features prominently in aggregate model quantities. 2.3.3 Imports The gravity equation gives total imports by destination d from origin o in the differentiated goods sector, which is the total value of all imported varieties evaluated at negotiated prices, n q . As we show in Appendix A.3.3, imports are: do do (cid:18) u (cid:19) (cid:18) w τ (cid:19)−θ IM do = 1− 1− do i (1−b do )N o xC d ρ o do (w o F do )−( σ− θ 1 −1) t− do µθ, (23) do d

13 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS in which the fraction of matched exporters, 1−u /(1−i ), and the import markdown, do do 1−b , reduce imports relative to a model without search, as shown in KM. The import do markdown is a function of parameters, but also market tightness so that b = b(κ ) as do do described Eq. (A58). The markdown term is below one because negotiated import prices, n , are lower than final sales prices, p , with positive search costs, and imports are do do evaluated at negotiated import prices. Eq. (23) shows that the exponent on iceberg trade costs (−θ) differs from the exponent on tariffs (−µθ). One reason these differ is that higher iceberg trade costs have a direct negative effect on productivity by raising production costs (Eq. 5), whereas tariffs do not affect productivity. Appendix A.3.4 contains details about the tariff exponent and elasticity in our model and in one without selection. The total amount paid by consumers in d for imports from o, C , equals the value of do all imported varieties evaluated at final sales prices. Appendix A.3.5 shows that C = t IM /(1−b ), so that as retailers’ search costs go to zero, c → 0, import do do do do do markdowns vanish, (1−b ) → 1, and IM → C /t . That appendix also shows that do do do do C = P Q , in which P is the price index for the bundle of varieties produced in do do do do country o and consumed in country d. As such, we can define a negotiated price index (1−b ) N ¯ = do P , (24) do do t do so that IM = N ¯ Q and the dd bundle of varieties satisfies IM = N ¯ Q . do do do dd dd dd 2.3.4 Profits In our framework, monopolistic producers generate operating profits. To determine these aggregate profits in country d, Π , we assume that country-d consumers own d retailers and producers in their country so that profits are attributed by location. As such, profits in country d satisfy (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) C Π = Πr +Πp = Πr + Πp = C − t IM + IM − kd , (25) d d d dk kd dk dk dk kd µt kd k k k k k k in which Πr = (cid:80) Πr is the total retailer profits from all varieties sold by retailers in d k dk country d who source their products from country k and Πp = (cid:80) Πp is the total d k kd producer profits from all varieties sold by producers in country d to country k. We discuss five alternative ownership structures of firms in Appendix A.3.6. We assume an exogenous number of producers in country d, Nx, as in CRW. Appendix A.9.2 in KM d derives additional restrictions imposed by free entry into production.

14 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 2.3.5 Expenditure and income approaches to national accounting The aggregate resource constraint using the expenditure approach can be written as, Y =p (1)q (1)+ (cid:88) D (cid:18) 1− u dk (cid:19) Nx (cid:90) p (φ)q (φ)dG(φ) d d d 1−i k dk dk k=1 dk φ¯dk (cid:124) (cid:123)(cid:122) (cid:125) Consumption(Cd ) (26) D (cid:88) +Nxw ex+ κ u Nxw c +u Nx(w l +w s κ χ(κ ))+(1−u −i )Nxw f , d d d dk dk k d dk kd d d kd d kd kd kd kd kd d d kd k=1 (cid:124) (cid:123)(cid:122) (cid:125) Investment(Id ) with details in Appendix A.3.7. Consumption expenditure, C , is defined in Eq. (1c). d Investment expenditure, I , is the resources devoted to creating producers, to creating d retailer-producer relationships, and to paying for the per-period fixed costs of production. We define investment costs as those that must be paid before producing the first unit of output and that do not scale with output. We discuss the equilibrium wage in Section 2.3.6. The government budget is balanced by rebating tariff revenue to consumers as income. This assumption means that the government does not make any purchases with tariff revenue and there is no government term on the right hand side of Eq. (26). Government payments to idle producers are financed by a lump-sum tax on consumers so that they cancel out on the right hand side of Eq. (26). Net exports do not appear in Eq. (26) because trade is balanced in equilibrium, as discussed in Section 2.4.1. The aggregate resource constraint using the income approach can be written as Y = w L +Π +G , (27) d d d d d in which L is the exogenous labor endowment, w is the equilibrium wage, Π are d d d profits, and G is income raised by tariffs on retailers and rebated to consumers: d (cid:88) D (cid:18) u (cid:19) (cid:90) ∞ (cid:88) D G = 1− dk Nx (t −1)n (φ)q (φ)dG(φ) = (t −1)IM . (28) d 1−i k dk dk dk dk dk dk φ¯ k=1 dk k=1 Government payments to idle producers cancel out on the right hand side of Eq. (27) because they enter workers’ income positively but are subtracted from government income as subsidies. We present details about the income approach to national accounting in Appendix A.3.8. Appendix A.3.9 uses the two approaches to national accounting to define the aggregate resource constraint for consumers.

15 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 2.3.6 Labor market clearing Labor demand in country d, LD , in units of labor is defined by d (cid:18) (cid:19) (cid:90) I (cid:88) u LD = d +q (1)+ 1− od Nx q (φ)τ φ−1dG(φ), (29) d w d 1−i d od od d o od φ¯ od with details in Appendix A.3.10. Labor demand is the sum of three terms. First, the cost to create firms, pay fixed costs, and form matches captured by the investment term, I , d from Eq. (26). Second, the labor used to produce the homogeneous good. Third, the labor used to produce domestic and exported differentiated goods. Labor supply is immobile and equal to a country’s labor endowment, L . d Recall that the production possibility frontier (PPF) for country d traces out how much of the domestic good, Q , can be produced for each level of exports, Q , given a level of dd od imports, Q , and labor endowment, L . The (negative of the) slope of the PPF is the do d marginal rate of transformation (MRT) between exports, Q , and domestic goods, Q , od dd denoted as MRTd. od 2.4 Steady-state general equilibrium 2.4.1 Defining the competitive equilibrium A competitive equilibrium is defined as an allocation of goods and a set of prices such that firms maximize profits, consumers maximize utility, and all markets clear. It is convenient to express our model’s equilibrium in terms of threshold productivities, φ¯ , do and market tightnesses, κ , ∀do, wages, w , and aggregate consumptions, C , ∀d. These do d d will jointly satisfy producers’ zero profit conditions (Eq. 18), retailers’ free-entry conditions (Eq. 19), aggregate resource constraints (Eqs. 26 and 27), and labor market clearing conditions (Eq. 29). Walras’ Law states that if all but one markets in an economy clear, the last one must also clear. We normalize the wage in one country to 1, w = 1. D The exogenous parameters are β, λ, r, η, ξ, θ, σ, α, ex, L , t , c , f , h , l , and s , in d d do do do do do do which d and o vary by countries. Tariffs, t , are exogenous parameters to economic do agents, except if they are chosen by a social planner, as discussed in Section 3. Formally, the decentralized equilibrium solves a system of nonlinear equations in the equilibrium variables in which the equilibrium conditions are constraints, model

16 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS parameters are taken as given, and the objective function is any constant, including zero: (cid:16) (cid:17) κc,φ¯c,C⃗c,w⃗c = argmax0 (30a) κ,φ¯,C⃗,w⃗ subject to: (cid:16) (cid:17) (cid:18) (cid:19) Πr ⃗κ ,φ⃗¯ ,C⃗,w⃗,⃗t w d c do = 1 do d∗ d∗ d∗ ∀do, (30b) χ(κ ) r+λ (1−u (κ )/(1−i (φ¯ )))Nx do do do do do o     φ¯ do = max   1,µσσ− 1 1  P (cid:16) ⃗κ ,φ⃗¯ w o , τ C⃗ do ,π,w⃗,⃗t (cid:17) (cid:18) w o F C ( d κ do ) (cid:19) σ− 1 1 tµ do   ∀do, d d∗ d∗ d∗ (30c) (cid:16) (cid:17) (cid:16) (cid:17) w L +Π +G ⃗κ ,φ⃗¯ ,C⃗,⃗t = C +I ⃗κ ,⃗κ ,φ⃗¯ ,C⃗ ∀d, (30d) d d d d d∗ ∗d d∗ d d d∗ ∗d ∗d (cid:16) (cid:17) 1 (cid:16) (cid:16) (cid:17) (cid:17)′ , I ⃗κ ,⃗κ ,φ⃗¯ ,C⃗ + C⃗ ⃗κ ,φ⃗¯ ,C⃗,w ,⃗t /⃗t ⃗ι d d∗ ∗d ∗d ∗d ∗d ∗d d ∗d ∗d µ w = ∀d, (30e) d L d w = 1, (30f) D ⃗t =⃗tc ∀d, (30g) d∗ d∗ with details in Appendix A.4.1. We denote the solutions to the decentralized competitive equilibrium defined by Eq. (30) with ‘‘c’’ superscripts. We also define vectors as collections of the variables across subindexes and matrices are denoted as bold. For example, search market tightnesses are collected into the following   κ   1o κ ... κ ⃗κ ∗o =    κ . . 2o   , ⃗κ d∗ = (cid:16) κ d1 κ d2 ... κ dD (cid:17) , κ =   . . . 11 ... 1 . . . D  , (31)  .      κ ... κ D1 DD κ Do so that rows index destinations and columns index origins. κ⃗ is the dth row of κ and κ⃗ d∗ ∗o is the oth column of κ. The column vector of D aggregate consumption expenditures in each country d is collected in C ⃗,⃗ι is a D×1 column vector of ones, and L ⃗ is a column vector of D labor endowments. Division of matrices is element by element. Utility maximization requires balanced trade so that D D (cid:88) (cid:88) IM = IM , (32) kd dk k=1 k=1 in which IM is the value of imports by country d from country o. Eq. (32) implies that do net exports do not appear in Eqs. (26) and (30d).

17 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS The main difference between our model’s equilibrium definition and the definitions in trade models without search frictions is that we introduce market tightnesses, κ . Our do model nests trade models without search if market tightnesses are infinite. Specifically, our model exactly reproduces Chaney (2008) if retailers’ search costs are zero, w = 1 and d G = 0, ∀d, and we make the same parameter value restrictions that he does d (s = h = ex = 0, ∀d, and, ∀o), among other assumptions. We provide more details for do do d this result in Appendix A.4.2. 2.4.2 Equilibrium existence and uniqueness: A graphical depiction We depict the general equilibrium with six graphs: two for bargaining over the negotiated price and the quantity, two for producer and retailer entry decisions, and two for goods and labor market clearing. These heuristic graphs are for an arbitrary good, φ, bilateral market do, and country d, so that our discussion is without loss of generality. The equilibrium in our model exists and is unique as shown in each figure with details in Appendix A.4.3. All endogenous variables are jointly determined. First, Fig. 1a depicts the equilibrium final sales price, p∗ (φ), and the quantity traded do within a relationship, q∗ (φ), resulting from bargaining over the quantity (Section 2.2.2). do This bargaining implies that the quantity exchanged within matches equates retailers’ marginal revenue from consumers with the marginal production cost times the tariff (Appendix A.2.2). The demand curve (Eq. 2) slopes down because demand for a particular variety falls when its price rises. Monopolistic competition then implies that the marginal revenue curve slopes down as well. The marginal cost curve is not a function of quantity because producers’ cost function is linear in quantity (Eq. 5). Second, Fig. 1b depicts the equilibrium negotiated price for one good in the do market, n∗ (φ), resulting from bargaining over the negotiated price (Section 2.2.3). The do negotiated price curve (Eq. 14) slopes up because a tighter market means that it is easier for unmatched producers to find retailers. This raises producers’ outside option and allows them to negotiate a higher price. The negotiated price of any single atomistic variety does not affect tightness in the do search market, so the market tightness curve is a vertical line at κ∗ from Fig. 1d. do Third, Fig. 1c depicts the equilibrium threshold productivity, φ¯∗ , resulting from do producers’ entry decision (Section 2.2.4). This figure takes as given equilibrium aggregate consumption, C∗, from Fig. 1e, depicted as a vertical line. The productivity threshold d curve slopes down because higher consumption in the destination market raises profitability of each variety, which makes the threshold producer less productive (Eq. 18). Fourth, Fig. 1d depicts the equilibrium mean imports, E [n (φ)q (φ)]∗, and φ do do goods-market tightness, κ∗ , in the do search market, resulting from retailers’ entry do decision (Section 2.2.5). The mean imports curve (derived from Eq. 14 in Appendix

18 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS A.4.3.4) slopes up for the same reason that the negotiated price curve slopes up in Fig. 1b: a tighter market means that producers can negotiate a higher price. The retailers’ free entry curve (Eq. 19) slopes down because a higher expected negotiated cost lowers the value of being a matched retailer and so leads to less retailer entry, lowering market tightness. Fifth, Fig. 1e depicts the equilibrium aggregate consumption, C∗, resulting from goods d market clearing (Section 2.3.5). This figure takes as given the equilibrium wage, w∗, from d Fig. 1f, depicted as a horizontal line. The consumption curve slopes up because the expenditure and income approaches to national accounting (Eqs. 26 and 27, respectively) imply that a higher wage generates higher income and higher consumption. Finally, Fig. 1f depicts the equilibrium wage, w∗, and labor, L∗, resulting from labor d d market clearing (Section 2.3.6). The labor demand curve slopes down because a higher wage reduces real investment and lowers labor demand (Eq. 29). Labor supply is a vertical line at a country’s labor endowment, L . d Proposition 1 summarizes this discussion. Proposition 1. The equilibrium defined by Eq. (30) exists and is unique. Proof. See Appendix A.4.3. The model delivers a tractable framework with a unique equilibrium. It extends KM by introducing labor market clearing and endogenous wages because there is no freely-traded homogeneous good. 3 Optimal uniform import tariffs 3.1 The unilateral country social planner problem This section considers a country social planner that unilaterally chooses import tariffs to maximize their own country’s welfare without considering the welfare of other countries. While this country can set import tariffs, t , we assume it cannot choose d∗ domestic taxes and the taxes and tariffs of other countries. Without loss of generality, we set these to the numbers given in Eq. (30g) so that t = tc and⃗t =⃗tc , ∀o ̸= d. Country dd dd o∗ o∗ d’s social planner remains constrained by the decentralized retailer entry condition and the other equilibrium constraints in all countries defined in Eq. (30). Formally, this

19 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS problem is given by   (cid:16) (cid:17) C κu,φ¯u,C ⃗u,w⃗u,⃗tu d∗ = arg ⃗t d m ∗ ax P d (cid:16) ⃗κ d∗ ,φ⃗¯ d∗ d ,C ⃗ ,w⃗,⃗t d∗ (cid:17) (33a) subject to: Eqs. (30b) through (30f), ⃗t =⃗tc ∀o ̸= d, (33b) o∗ o∗ t = tc ∀d. (33c) dd dd We denote the variables that solve the unilateral problem defined by Eq. (33) with ‘‘u’’ superscripts. Welfare (indirect utility) in country d is equal to real consumption, the objective function Eq. (33a), because preferences represented by utility in Eq. (1) are homothetic (Appendix B.1.1). If instead of Eq. (33a), the social planner maximizes the present discounted value of welfare, the solution is unchanged. This follows because if there is no storage technology, the solution to the consumer’s static and dynamic problems are identical (Appendix A.1.2). In that case, the present discounted value of welfare is real consumption divided by the constant interest rate, r, as shown in Appendix B.1.2. As such, the main text uses current value welfare for simplicity. 3.2 Analytical solutions In this section we derive analytical solutions for the optimal tariff and the offer curve elasticity for the two-country case. 3.2.1 Optimal tariff solution This section presents the analytical solution to Eq. (33). Our main finding is that in the model with search frictions, the optimal tariff depends not only on the elasticity of the offer curve—as it does in a model without frictions—but also on two new terms. One term relates to the import markdowns introduced in Section 2.3.3 and the second term relates to the allocative inefficiency of the decentralized economy because search frictions introduce additional externalities. The following assumption helps yield analytical solutions. Assumption 1. Assume that 1) D = 2 so that there are two countries, d and o; 2) there are no tariffs or subsidies except for tariffs in the do market; 3) and the consumer optimization problem yields an interior solution. Proposition 2 characterizes the optimal tariff that maximizes domestic welfare.

20 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Proposition 2. The optimal import tariff for country d satisfies (cid:32) (cid:33) (cid:18) 1−bu (cid:19) MRTd,u 1 tu = do od , (34a) do 1−bu N ¯u/N ¯u Hu dd od dd do in which dlnQu (Qu ) Hu = do od , (34b) do dlnQu od is the elasticity of the offer curve for exports from country o to country d and we use Assumption 1. Proof. See Appendix B.2.1. We make four remarks about Eq. (34). First, the optimal tariff is a fixed point because it is a function of the general equilibrium of the model. Specifically, the superscript ‘‘u’’ denotes variables that are in equilibrium at the optimal tariff and so, in general, computing the optimal tariff in Eq. (34) requires a fully-specified general equilibrium model. The optimal tariff expression in CRW (Eq. 15) shares this property, as do the large economy models in Gros (1987) and Felbermayr et al. (2013). Second, Eq. (34) nests the optimal tariff formula in a model without search frictions. Without search, there are no import markdowns so that (1−bu )/(1−bu ) = 1 and hence do dd N ¯u/N ¯u = Pu/Pu. Also, the decentralized solution features allocative efficiency so that od dd od dd MRTd,u = Pu/Pu and Eq. (34) simplifies to od od dd 1 tu = , (35) do Hu do which corresponds to Eq. (15) in CRW. Section 3.3 discusses optimal tariffs and efficiency in greater detail. Third, the tariff in Eq. (34) depends on the ratio of markdowns in the do market to the dd market, (1−bu )/(1−bu ). The social planner’s solution involves a manipulation of do dd the terms of trade (TOT), N ¯ /N ¯ , so that the wedge between the TOT and the MRT-MRS od do ratio is equal to the inverse of the elasticity of the offer curve, as in Dixit (1985) and CRW (see Appendix B.2.1.1 and Eq. B146). With search frictions, the TOT include the import markdown terms so the optimal tariff includes these as well. Intuitively, producers are willing to accept low negotiated prices (large import markdowns) when they face poor outside options driven by low contact rates (high unmatched rates). The social planner stimulates retailer entry in these search markets by setting lower tariffs to reduce unmatched rates. Fourth, the tariff in Eq. (34) depends on the ratio of the MRT in country d to the ratio

21 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS of negotiated price indices in country d, MRTd,u/ (cid:0) N ¯u/N ¯u (cid:1). This follows because search od od dd frictions introduce additional externalities that interact with tariffs. For example, in the decentralized equilibrium, each producer decides whether to search or not, and how much to produce, without considering their effect on equilibrium market tightnesses, κ ∀do. Their choices influence the ratio of negotiated price indexes, N ¯u/N ¯u . In contrast, do od dd the social planner explicitly considers the social opportunity cost of producing Q do including any effects on market tightnesses, which affects the PPF and therefore the ratio MRTd,u/ (cid:0) N ¯u/N ¯u (cid:1). Our new optimal tariff expression implies that the social planner od od dd sets higher import tariffs when the social opportunity cost of exports exceeds the relative private cost. Higher import tariffs reduce exports via balanced trade. In an economy without search frictions, the decentralized economy features allocative efficiency so that MRTd,u/ (cid:0) N ¯u/N ¯u (cid:1) = 1, as in CRW. od od dd To elucidate these analytical results, we present numerical examples for two symmetric countries labeled as Home (h) and Foreign (f) without search costs, c = 0 ∀do, and with search costs in only the hf market so that c > 0 but do hf c = 0 ∀do ̸= hf. Appendix B.2.2 contains parametrization details. do Fig. 2 computes the general equilibrium defined in Eq. (30) for the numerical example for a range of Home import tariffs, t , without and with search costs. Using these hf equilibria, Panel A shows Home welfare as a function of Home import tariffs without and with search costs (Figs. 2a and 2b). The left (right) vertical axes are in units of real consumption (welfare percent change from free trade, t = 1). Welfare is globally hf concave and peaks at 1.32 (1.23) in the model without (with) search costs. Panel B plots the right hand side (RHS) of Eqs. (35) and (34) (blue lines) for various Home import tariffs and the left hand side (LHS) 45 degree line (solid black) in Figs. 2c and 2d. These figures show that the optimal tariffs are fixed points and satisfy Eqs. (35) and (34): At the optimal tariffs, the RHS of those equations evaluate to the optimal tariffs on the LHS. Figs. A1a and A1b show that Foreign welfare falls monotonically with higher Home import tariffs in the model without and with search costs. Fig. 3a computes the Home optimal tariff defined in Eq. (33) for different search costs on the horizontal axis, c > 0 but c = 0 ∀do ̸= hf. The vertical axis intercept hf do corresponds to the case without search costs (dotted black line) shown in Fig. 2a. The optimal tariff of tu = 1.23 corresponds to a search cost of c ×104 = 5 used in Fig. 2b. hf hf We highlight that the optimal tariff in a model with any positive search cost is below that in the model without them (orange circles below intercept) and that it declines rapidly as search costs increase for this simple parameterization. We also depict how the decomposition of the optimal unilateral tariff in Eq. (34) varies with search costs in Fig. 3c. We make three observations. First, the offer curve

22 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS elasticity term (dotted blue line) is quantitatively the most relevant for the level of optimal tariffs in this numerical example, regardless of the search cost level. At the vertical axis, the figure confirms that if search costs are zero, the optimal tariff is fully determined by the equilibrium offer curve elasticity because Eq. (34) simplifies to Eq. (35). Second, the ratio of markdowns in the hf market to the hh market falls with search costs in the hf market (green line below its intercept) because the import markdown in the hf market falls, as discussed in Section 2.3.3. Third, allocative inefficiency increases optimal tariffs with search costs in the hf market (orange dashed line above its intercept) in this numerical example. As search costs in the hf market rise, the PPF steepens in country f because producing one more unit of the exported good requires giving up more of the domestic good. This effect also steepens the PPF in country h through balanced trade. Because aggregate producer prices do not fully reflect externalities, the MRT exceeds the ratio of negotiated prices in country h. 3.2.2 Offer curve elasticity solution Proposition 3 characterizes the inverse of the elasticity of the offer curve in Eq. (34b). Proposition 3. The inverse of the elasticity of the offer curve satisfies 1 1 = 1+µϵu + +µϵu , (36a) Hu P do ,Q do (σ −1)xu B do ,Q do do oo in which dln[(Pu/tu )/Pu] ϵu = do do oo , (36b) P do ,Q do dlnQu do (cid:18) dlnQu (cid:19)−1 xu = 1− oo , (36c) oo dlnQu do dln[(1−bu )/(1−bu )] ϵu = do od , (36d) B do ,Q do dlnQu do and we use Assumption 1. Proof. See Appendix B.2.3. We make two observations about Eq. (36). First, balanced trade implies that the offer curve relates closely to the TOT because Q = Q N ¯ /N ¯ . As such, the offer curve do od od do elasticity, Eq. (36a), includes price ratio elasticities, Eq. (36b), and markdown ratio elasticities, Eq. (36d). Second, Proposition 3 nests the model without search frictions so that Eq. (37) recovers Eq. (22) in CRW 1 1 1+ϵu σxu tu = = 1+µϵu + = 1+ P do ,Q do oo , (37) do Hu P do ,Q do (σ −1)xu (σ −1)xu do oo oo

23 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS in which we use Eq. (35) for the first equality, we use Eq. (36) with ϵu = 0 because B ,Q do do of no search frictions for the second equality, and we simplify for the third equality. Additionally, without search frictions, MRTo,u = (Pu/tu )/Pu. As such, the elasticity of do do do oo transformation (EoT) in country o—defined as the elasticity of the MRT in country o with respect to exports Q — coincides with Eq. (36b). In other words, without search, do ϵu = ∂lnMRTo,u/∂lnQu , as discussed in Appendix B.2.4. In that appendix, we also P do ,Q do do do show that, without search frictions, xu in Eq. (36c) simplifies to the domestic oo consumption share in country o and so we refer to it as such throughout, as in CRW. Fig. 3e clarifies how search costs affect the inverse of the elasticity of the offer curve and its decomposition in Eq. (36) for our numerical example. The inverse of the elasticity of the offer curve (dotted blue line), Eq. (36a), falls with search costs. We make four observations about its decomposition. First, the consumption share term (orange dashed line), Eq. (36c), contributes the most to the level of the inverse of the offer curve elasticity for all search cost levels in this numerical example. Second, the decline in the inverse of the offer curve elasticity as search costs rise is chiefly because the price elasticity (dashed-dotted red line), Eq. (36b), falls with search costs. We discuss this result below and we characterize this elasticity in Proposition 4. Third, Eq. (36c) also falls slightly with search costs—although that is difficult to see in the figure—because higher search costs reduce imports by h and therefore reduce imports by f through trade balance, which raises the domestic consumption share in country f. Simultaneously, optimal tariffs fall as search costs increase and this tends to reduce the domestic consumption share, but the search cost effect dominates in this numerical example. Fourth, the elasticity of the ratio of markdowns (solid green line), Eq. (36d), rises slightly with search costs because changes in Q affect retailer entry—and unmatched rates and hf import markdowns—directly in the hf market and only indirectly in the fh market. Next, we discuss how search frictions affect Eq. (36b), which is the EoT in the model without search. Proposition 4 decomposes Eq. (36b). Proposition 4. The price elasticity satisfies θ−(σ−1) (cid:20) (σ−1) (cid:21)(cid:20)(cid:18) uu (cid:19) dlnκu (cid:18) uu (cid:19) dlnκu (cid:21) ϵu =− −(1−η) do do − oo oo , (38) Pdo,Qdo [σθ−(σ−1)]xu σθ−(σ−1) 1−iu dlnQu 1−iu dlnQu oo do do oo do (cid:124) (cid:123)(cid:122) (cid:125)(cid:124) (cid:123)(cid:122) (cid:125) Selection Searchfrictions which uses Assumption 1 and that l = −h for k = d,o so that F (κ ) are parameters. ko ko ko Proof. See Appendix B.2.5. Eq. (38) is the standard selection term plus a new search-frictions term that captures the effect of country o exports on endogenous goods-market tightnesses. Specifically, the first term in Eq. (38) is the EoT in a model with a Pareto distribution for firm productivity

24 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS and constant fixed exporting cost, but without endogenous search frictions, as in Felbermayr et al. (2013). This EoT is negative because the PPF is bowed into the origin as a result of increasing returns. This aggregate nonconvexity arises because of self-selection into exporting, as discussed in CRW. Specifically, as Q rises, there is more producer do entry in the do market, as well as fewer domestic goods, Q , which lowers producer entry oo in the oo market. Both of these effects lower the opportunity cost of exports in terms of domestic goods. As the productivity distribution has more mass at the threshold (θ → ∞), this selection channel becomes more relevant and the PPF becomes more bowed into the origin. This EoT term is zero in a model without selection, as in Gros (1987). The search-frictions term in Eq. (38) captures the effects of changes in endogenous goods-market tightnesses. The first derivative term captures the effects of country o’s exports on tightness in the do market. This term is positive because an increase in exports increases retailer entry and tightness in the do market, which increases the matched rate and decreases the differentiated-goods price index. Simply put, by increasing exports, country o lowers search frictions, which lowers the opportunity cost of exports. The second derivative term is negative because higher exports imply substitution away from the domestic market, which lowers the domestic matched rate and increases the opportunity cost of producing domestic goods. These two effects imply that the search-frictions term in Eq. (38) is negative. Naturally, these search friction effects are larger when unmatched rates in the do and oo markets are high and when the number of matches is more responsive to the number of searching retailers; that is, when (1−η) is closer to one. These findings explain why the price elasticity (dashed-dotted red line), Eq. (38), falls with search costs in Fig. 3e. A sufficient condition that ensures that Eq. (36) in the model with search (s) frictions is below that in the model with no search (ns) frictions is xs,u ≥ xns,u, as shown in oo oo Appendix B.2.6. 3.3 Optimal tariffs and efficiency Notice that the optimal tariffs in the model with and without search frictions in Eqs. (34) and (35) differ because search frictions introduce the ratio of import markdowns, (1−bu )/(1−bu ), and they change the elasticity of the offer curve (Eqs. 36a and 38), do dd but also because of different efficiency properties of the decentralized equilibria in the two models through MRTd,u/ (cid:0) N ¯u/N ¯u (cid:1) in Eq. (34). Recall that without search frictions, od od dd the competitive equilibrium attains allocative efficiency, as in CRW, so that MRTd,u/ (cid:0) N ¯u/N ¯u (cid:1) = 1. od od dd A model with search can still attain allocative efficiency at a competitive equilibrium. Appendix B.2.8 considers optimal tariffs in a restricted search model with exogenous (finite) unmatched rates and exogenous idle rates, which is equivalent to an exogenous

25 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS threshold, Eq. (18). With these restrictions, each economy attains allocative efficiency. Nevertheless, optimal tariffs are determined by Eq. (34) instead of (35) and therefore differ from the model without search. Appendix B.2.8 also derives sufficient conditions for a search model with these restrictions to give the same optimal tariff as the model without search. Namely, restrictions on parameters that result in the import markdown ratio being one and that country d is a small open economy (so that w /w → 0) and the o d domestic consumption share is one. To illustrate that a search model can attain allocative efficiency, our numerical example shows that these inefficiencies disappear when unmatched and idle rates are exogenous. Figs. 3b, 3d, and 3f depict the optimal tariff, its decomposition, and the decomposition of the inverse of the offer curve elasticity, respectively, in the model with exogenous unmatched and idle rates. For each of these figures, we fix the unmatched and idle rates to the endogenous equilibrium unmatched and idle rates that obtain given search costs in the corresponding figure in the left column of Fig. 3. Fig. 3b shows that the optimal tariff (orange circles) falls with search costs even with exogenous unmatched and idle rates. Fig. 3d shows that this decline is due to the markdown term (green line). Notably, MRTd,u/ (cid:0) N ¯u/N ¯u (cid:1) = 1 (dashed orange line) because of allocative efficiency. od od dd Fig. 3f shows that the markdown elasticity is zero because markdowns are exogenous, and the price elasticity, Eq. (36b), is also zero because the PPF is linear and the search-frictions term in Eq. (38) is zero. The consumption share term falls slightly as tariffs rise by the same logic as discussed in Section 3.2. Optimal tariffs may also differ in a model without search frictions and with endogenous search frictions because the latter is not globally efficient. This inefficiency results from the standard matching externalities in search models; namely, retailers and producers do not internalize how searching affects equilibrium matching probabilities. In addition, our model also has composition externalities because the threshold producer does not internalize their effect on average match productivity, as in Albrecht, Navarro, and Vroman (2010) and Julien and Mangin (2017). There exist conditions like those in Hosios (1990) that internalize congestion and market thickness externalities, as well as conditions that internalize composition externalities. Brancaccio et al. (2023) derive related conditions under which the decentralized equilibrium is globally efficient in an environment similar to ours that has random search between customers and shipping carriers. We discuss those conditions more fully in Appendix B.2.9. This appendix also explains that formalizing the global efficiency properties of our endogenous search model and how they interact with optimal tariffs, as well as deriving the relationship between country-level allocative efficiency and global efficiency, and comparing and contrasting to the models in Moen (1997), Albrecht

26 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS et al. (2010), Mangin and Julien (2021), and Brancaccio et al. (2023) is beyond the scope of this paper. 3.4 Optimal tariffs with retaliation This section considers optimal unilateral tariffs in a strategic environment. We define and solve for a D-country pure-strategy Nash equilibrium in which countries choose import tariffs. We assume countries cannot choose domestic taxes, which are set to their competitive levels, without loss of generality. The Nash equilibrium import tariffs are defined by tariffs that maximize each country’s welfare, subject to the equilibrium conditions and the Nash tariffs set by other countries. Formally, this problem is given by (cid:110) (cid:111) Find κn,φ¯n,C ⃗n,w⃗n,tn subject to (39a)   (cid:110) (cid:111) C κn,φ¯n,C ⃗n,w⃗n,⃗tn d∗ = arg ⃗t d m ∗ ax P d (cid:16) ⃗κ d∗ ,φ⃗¯ d∗ d ,C ⃗ ,w⃗,⃗t d∗ (cid:17) ∀d, (39b) subject to: Eqs. (30b) through (30f), ⃗t =⃗tn ∀o ̸= d, (39c) o∗ o∗ t = tc ∀d. (39d) dd dd We denote the variables that solve the Nash problem defined by Eq. (39) with ‘‘n’’ superscripts. Appendix B.3 describes how to solve for the Nash equilibrium using the Nikaidô-Isoda function (Nikaidô and Isoda, 1955). The intuition for the mechanisms for optimal tariffs remain largely the same in this context as in Section 3.2. However, instead of one fixed point equation that determines the optimal tariff (Eq. 34), there exist similar equations for each country. In these equations, the equilibrium variables on the RHS are functions of tariffs. The optimal tariffs satisfy all the equations simultaneously and imply no incentive to deviate for any country. We use the same numerical example as in Section 3.2 to illustrate the Nash equilibrium. Fig. 4a (Fig. 4b) depicts Home’s optimal import tariff for each Foreign import tariff (dashed blue line) and Foreign’s optimal tariff for each Home import tariff (dashed red line) in a model without (with) search costs in the hf market. The intersection of these two best response curves identifies the Nash equilibrium import tariffs for which neither country has an incentive to deviate. In the model without search frictions, the Nash equilibrium import tariff is 1.32 in both Home and Foreign because the countries are symmetric. In the model with search frictions, Home’s best response line shifts down relative to the model without search frictions and Foreign’s best response and Nash equilibrium import tariff are little changed. Home’s Nash equilibrium import tariff

27 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS is 1.18. In short, optimal import tariffs are lower in a model with search frictions than without them, even with strategic considerations. 4 Calibration We use data for China and the United States in 2016 to calibrate our model, as in KM, but we can generalize our approach to include more trading partners or a different time period. The calibration proceeds in two steps and follows KM closely. First, we externally calibrate parameters that can be normalized or that are standard in the literature, with details in Appendix C.1. Second, we internally calibrate the remaining parameters by minimizing the distance between moments in the data and the decentralized model (Eq. 30). Formally, this minimization is accomplished by solving a mathematical program with equilibrium constraints (MPEC) following Dubé, Fox, and Su (2012) and Su and Judd (2012). Appendix C.2 provides a discussion of our calibration and intuition for identification of each internally calibrated parameter. We present the calibrated parameters in Table 1 and discuss a few of the most important ones here. To calibrate retailers’ flow search costs, c , we use the fraction of do firms that export and manufacturing capacity utilization rates, similar to Armenter and Koren (2014), Eaton, Eslava, Jinkins, Krizan, and Tybout (2014), and Eaton, Jinkins, Tybout, and Xu (2016). To calibrate domestic retailers’ search costs, we use manufacturing capacity utilization rates in each country, as in Michaillat and Saez (2015), Petrosky-Nadeau and Wasmer (2017) and Petrosky-Nadeau, Wasmer, and Weil (2018). Coefficients from a log-linear regression of imports on tariffs and distance inform the elasticity of matches with respect to the number of searching producers, η, as described in Appendix C.3. Without search, the tariff elasticity is important for determining the optimal tariff. In fact, it solely determines the optimal tariff in country d if it is a small open economy. For example, in Demidova and Rodríguez-Clare (2009) the optimal tariff for d is given by tu = 1+1/(µθ+1) and the tariff elasticity is −µθ, which is also the tariff coefficient in a do log-linear import regression. In contrast, with a large open economy, the tariff elasticity does not solely determine the optimal tariff but it remains an important ingredient, as discussed in Appendix B.2.7. Likewise, in a model with search, the import elasticity with respect to tariffs remains important. Additionally, as first pointed out in KM, standard log-linear regressions that counterfactually omit search frictions yield a biased tariff coefficient (KM, Appendix C.3). As such, we account for this bias when targeting the distance and tariff coefficients, as discussed in Appendix C.3. Without search, this bias disappears and the tariff coefficient in a log-linear import specification correctly recovers the parameters, −µθ. Therefore, to obtain the same tariff coefficient in a model without search as in the model with search, the parameters σ or θ would need to change.

28 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Our baseline calibration fits economic aggregates, such as GDP, consumption, investment, wages, and international trade flows, and exporter failure rates. Table 2 presents the moments from the model and shows that the model matches the data well and provides a realistic environment for quantitative exercises, a topic we pursue in the next section. 5 Quantitative results 5.1 Search frictions reduce optimal tariffs Higher search costs significantly reduce optimal unilateral import tariffs for both the United States and China in the calibrated model. Table 3 shows results from our calibrated model for baseline search frictions and Table 4 shows results for a counterfactual exercise in which international search costs are reduced to domestic search costs, but we otherwise retain the rest of the baseline calibration (‘‘reduced search frictions’’). This counterfactual exercise could be motivated by innovations that reduce international search costs. In both tables, the Rows A and B show import tariffs, Rows C and D show welfare, and Rows E and F show welfare changes from the baseline calibration. Column 1 shows results for the baseline U.S. and Chinese tariffs. Column 2 (3) shows results for the optimal unilateral tariff for the U.S. (Chinese) country social planner if China (the United States) sets tariffs passively at the baseline values from Column 1. Column 4 shows results for the Nash equilibrium tariffs. In Column 2 (3), the U.S. (Chinese) optimal unilateral tariff is 1.14 (1.15) with baseline search frictions, Table 3, and 1.38 (1.35) with reduced search frictions, Table 4. Nonetheless, higher search costs reduce U.S. (Chinese) welfare at the optimal tariff because the economy devotes more resources to overcoming them (compare Rows C and Rows D across the tables). In Column 2, both tables show that the U.S. optimal unilateral tariffs raises U.S. welfare relative to the baseline for the United States (Row E) and lowers welfare for China (Row F) because the U.S. optimal tariff (Row B) is higher than the baseline tariff in Column 1. In Column 3, the Chinese optimal tariffs are higher than the baseline and so welfare is higher for China but lower for the United States in Rows E and F of Table 4. In contrast, Chinese optimal unilateral tariffs in Column 3 are lower than the baseline in Column 1 of Table 3 and so both countries gain in Rows E and F. We depict U.S. and Chinese welfare as a function of U.S. unilateral tariffs for baseline and reduced search frictions in Fig. 5. We show the same for Chinese unilateral tariffs in Fig. A2. International search frictions also reduce significantly equilibrium tariffs in a strategic setting. Specifically, international search costs reduce U.S. (Chinese) Nash equilibrium tariffs from 1.33 to 1.15 (1.3 to 1.13), if we compare the calibration with reduced search frictions and baseline search frictions (compare Rows A and B in Column 1 and 4 within

29 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS each table). For the baseline and counterfactual, Figs. A3a and A3b show the best response functions, Figs. A3c and A3d show U.S. welfare, and Figs. A3e and A3f show Chinese welfare, respectively. In the welfare figures for a country, we vary the import tariff for that country while holding the tariff in the other country at the Nash tariff. 5.2 Welfare gains with and without international search frictions U.S. and Chinese welfare would increase only slightly with optimal unilateral import tariffs and baseline search frictions relative to observed 2016 tariff levels. At the optimal U.S. tariff, U.S. welfare would rise by 0.03 percent and Chinese welfare would fall by 0.57 percent (Table 3, Column 2). Similarly, at the optimal Chinese unilateral tariff, Chinese welfare would rise by 0.01 percent and U.S. welfare would rise by 0.09 percent (Table 3, Column 3). Predicted welfare gains are significantly larger in the counterfactual than in the baseline. For example, optimal unilateral U.S. and Chinese tariffs in this counterfactual calibration imply welfare gains of one percent for each country (Table 4, Columns 2 and 3, Rows E and F). More generally, search frictions attenuate the welfare response to tariff changes and the gains from trade. Intuitively, this is because, search frictions imply fewer matched varieties and tariffs mainly affect aggregates through the intensive margin of matched varieties. This result is consistent with our findings in Section 3.2 (Fig. 2) and echos one of the main conclusions of KM. Comparing the welfare changes from baseline between the left and right panels in Figs. 5 and A2 highlights this point. For example, in the model with reduced search frictions, varying U.S. unilateral tariffs from 1 to 2 yields U.S. welfare that is at most 1 percent above and below the baseline level (Fig. 5a). And moving from baseline tariffs to optimal tariffs raises welfare by 1.0 percent. In comparison, in the model with baseline search frictions, varying tariffs from 1 to 2 yields welfare that is no more than 0.1 percent above, and at most 1.1 percent below, the baseline level (Fig. 5b). And moving from baseline tariffs to optimal tariffs raises welfare by about 1.0 percent. That is, search frictions render tariffs far less potent for welfare changes. Figs. A2a and A2b show the same results for China, and Fig. A3 shows that it holds true in a strategic environment. We note that the observed U.S. import tariff in 2016 was below that implied by our model, including the optimal unilateral or Nash tariff and whether we consider search frictions or not. The welfare gains from moving from observed to optimal tariffs are small, except in the case with reduced search frictions and U.S. unilateral tariffs.

30 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 6 Conclusion We study optimal import tariffs in an environment with search frictions between exporting producers and importing retailers. Our model nests standard trade models and it admits a unique equilibrium. We analytically characterize the unilateral uniform import tariff that maximizes domestic welfare in a two-country setting. With search frictions, this optimal tariff depends not only on the offer curve elasticity—as it does in a model without search frictions—but also on two new terms. An import markdown term relates to the difference between import prices and final consumer prices. A second term relates to additional externalities introduced by search frictions. We also characterize the offer curve elasticity in our model and show that search frictions introduce a new incentive to subsidize imports because of endogenous market thickness effects. We elucidate these analytical results with simple numerical examples. Quantitative results using 2016 U.S. and Chinese data suggest that the optimal U.S. unilateral tariff with search frictions is about 20 percentage points below that in a model with reduced search costs. Changes in welfare in response to changes in tariffs are smaller in the model with baseline search costs than in the model with reduced search costs. For example, moving from baseline to optimal unilateral tariffs raises U.S. welfare by about 0.03 (1) percent in a model with baseline (reduced) search costs. In the Nash equilibrium with baseline search costs, U.S. (Chinese) tariffs are 7 (4) ppt. higher (lower) and welfare is 0.2 (0.7) percent higher (lower) than result from 2016 tariff levels. Our study points to a few directions for future research. First, empirical work could use trade flows between many countries, the fraction of exporting firms, and capacity utilization rates to estimate the parameters of our model. Second, after estimating, Sections 3.1 and 3.4 could characterize optimal unilateral and Nash tariffs in a D-country version of our model. Third, search frictions could be used to rationalize and model the pervasiveness of trade promotion programs, like the State Trade Expansion Program (STEP, 2024). Fourth, international search frictions could vary over time, as they do over the business cycle in labor markets, for example. If variation in search frictions over space and time is important, the framework in this paper would imply that optimal tariffs should vary in these dimensions as well. Our framework provides a foundation for analyzing the welfare implications of tariffs in the presence of goods-market search frictions.

31 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS References Albrecht, James, Lucas Navarro, and Susan Vroman (2010). ‘‘Efficiency in a search and matching model with endogenous participation.’’ Economics Letters, 106(1), pp. 48--50. doi:10.1016/j.econlet.2009.09.022. Alviarez, Vanessa, Michele Fioretti, Ayumu Ken Kikkawa, and Monica Morlacco (2025a). ‘‘Cocentration and markups in international trade.’’ URL https://sites.google.com/view/ayumukenkikkawa/research, working paper. Alviarez, Vanessa, Michele Fioretti, Ayumu Ken Kikkawa, and Monica Morlacco (2025b). ‘‘Two-sided market power in firm-to-firm trade.’’ URL https://sites.google.com/view/ayumukenkikkawa/research, working paper. Arkolakis, Costas, Arnaud Costinot, and Andrés Rodríguez-Clare (2012). ‘‘New trade models, same old gains?’’ American Economic Review, 102(1), pp. 303--07. doi:10.1257/aer.102.1.94. Armenter, Roc and Miklós Koren (2014). ‘‘A balls-and-bins model of trade.’’ American Economic Review, 104(7), pp. 2127--51. doi:10.1257/aer.104.7.2127. Brancaccio, Giulia, Myrto Kalouptsidi, Theodore Papageorgiou, and Nicola Rosaia (2023). ‘‘Search Frictions and Efficiency in Decentralized Transport Markets.’’ Quarterly Journal of Economics, 138(4), pp. 2451--2503. doi:10.1093/qje/qjad023. Broda, Christian, Nuno Limao, and David E. Weinstein (2008). ‘‘Optimal tariffs and market power: The evidence.’’ American Economic Review, 98(5), pp. 2032--65. doi:10.1257/aer.98.5.2032. Broda, Cristian and David Weinstein (2006). ‘‘Globalization and the gains from variety.’’ Quarterly Journal of Economics, 121(2), pp. 541--585. doi:10.1162/qjec.2006.121.2.541. Cavallo, Alberto, Gita Gopinath, Brent Neiman, and Jenny Tang (2021). ‘‘Tariff pass-through at the border and at the store: Evidence from us trade policy.’’ American Economic Review: Insights, 3(1), p. 19–34. doi:10.1257/aeri.20190536. URL https://www.aeaweb.org/articles?id=10.1257/aeri.20190536. Cebul, Randall D., James B. Rebitzer, Lowell J. Taylor, and Mark E. Votruba (2011). ‘‘Unhealthy Insurance Markets: Search Frictions and the Cost and Quality of Health Insurance.’’ American Economic Review, 101(5), p. 1842–71. doi:10.1257/aer.101.5.1842. Chaney, Thomas (2008). ‘‘Distorted gravity: The intensive and extensive margins of international trade.’’ American Economic Review, 98(4), pp. 1707--21. doi:10.1257/aer.98.4.1707. Costinot, Arnaud and Andrés Rodríguez-Clare (2014). ‘‘Chapter 4 - Trade theory with numbers: Quantifying the consequences of globalization.’’ In Gita Gopinath, Elhanan Helpman, and Kenneth Rogoff, editors, Handbook of International Economics, volume 4 of Handbook of International Economics, pp. 197--261. Elsevier. doi:10.1016/B978-0-444-54314-1.00004-5. Costinot, Arnaud, Andrés Rodríguez-Clare, and Iván Werning (2020). ‘‘Micro to macro: Optimal trade policy with firm heterogeneity.’’ Econometrica, 88(6), pp. 2739--2776. doi:https://doi.org/10.3982/ECTA14763. Demidova, Svetlana and Andrés Rodríguez-Clare (2009). ‘‘Trade policy under firm-level heterogeneity in a small economy.’’ Journal of International Economics, 78(1), pp. 100 -- 112. doi:https://doi.org/10.1016/j.jinteco.2009.02.009. di Giovanni, Julian and Andrei A. Levchenko (2012). ‘‘Country size, international trade, and aggregate fluctuations in granular economies.’’ Journal of Political Economy, 120(6), pp. 1083--1132. doi:10.1086/669161. Diamond, Peter A. (1982). ‘‘Aggregate demand management in search equilibrium.’’ Journal of Political Economy, 90(5), pp. 881--894. doi:10.1086/261099. Dixit, Avinash (1985). ‘‘Chapter 6 - Tax policy in open economics.’’ In A. J. Auerbach and M. Feldstein, editors, Handbook of Public Economics, volume 1, pp. 313--374. Elsevier. doi:10.1016/S1573-4420(85)80009-4.

32 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Drozd, Lukasz A. and Jaromir B. Nosal (2012). ‘‘Understanding International Prices: Customers as Capital.’’ American Economic Review, 102(1), pp. 364--395. doi:10.1257/aer.102.1.364. Dubé, Jean-Pierre H., Jeremy T. Fox, and Che-Lin Su (2012). ‘‘Improving the Numerical Performance of BLP Static and Dynamic Discrete Choice Random Coefficients Demand Estimation.’’ Econometrica, 80(5), pp. 2231--2267. doi:10.3982/ECTA8585. Eaton, Jonathan, Marcela Eslava, David Jinkins, C. J. Krizan, and James Tybout (2014). ‘‘A search and learning model of export dynamics.’’ Mimeo, Pennsylvania State University. Available at http://www.davidjinkins.com/docs/EEJKT_02_26_2014.pdf. Eaton, Jonathan, David Jinkins, James Tybout, and Daniel Xu (2016). ‘‘Two-sided search in international markets.’’ Mimeo, Pennsylvania State University. Available at http://www.ucdenver.edu/academics/colleges/CLAS/Departments/economics/Seminars/ Documents/ejtx_draft_v14.pdf. Eaton, Jonathan, David Jinkins, James Tybout, and Daniel Xu (2026). ‘‘Two-sided search in international markets.’’ URL https://sites.psu.edu/jtybout/files/2026/02/EJTX-2-27-26.pdf, mimeo, Pennsylvania State University. Eaton, Jonathan and Samuel Kortum (2002). ‘‘Technology, geography, and trade.’’ Econometrica, 70(5), pp. 1741--1779. doi:10.1111/1468-0262.00352. Fajgelbaum, Pablo D, Pinelopi K Goldberg, Patrick J Kennedy, and Amit K Khandelwal (2019). ‘‘The return to protectionism.’’ The Quarterly Journal of Economics, 135(1), pp. 1--55. doi:10.1093/qje/qjz036. URL https://doi.org/10.1093/qje/qjz036. Felbermayr, Gabriel, Benjamin Jung, and Mario Larch (2013). ‘‘Optimal tariffs, retaliation, and the welfare loss from tariff wars in the melitz model.’’ Journal of International Economics, 89(1), pp. 13 -- 25. doi:https://doi.org/10.1016/j.jinteco.2012.06.001. Flaaen, Aaron B, Ali Hortaçsu, Felix Tintelnot, Nicolás Urdaneta, and Daniel Xu (2025). ‘‘Who pays for tariffs along the supply chain? evidence from european wine tariffs.’’ doi:10.3386/w34392. Working Paper. Gros, Daniel (1987). ‘‘A note on the optimal tariff, retaliation and the welfare loss from tariff wars in a framework with intra-industry trade.’’ Journal of International Economics, 23(3), pp. 357 -- 367. doi:https://doi.org/10.1016/0022-1996(87)90061-4. Grossman, Gene M., Elhanan Helpman, and Stephen J. Redding (2024). ‘‘When Tariffs Disrupt Global Supply Chains.’’ American Economic Review, 114(4), p. 988–1029. doi:10.1257/aer.20211519. Hosios, Arthur J. (1990). ‘‘On the efficiency of matching and related models of search and unemployment.’’ Review of Economic Studies, 57(2), pp. 279--298. doi:10.2307/2297382. Javorcik, Beata, Justin Pierce, and Emily Wisniewski (2025). ‘‘Who pays for tariffs along the supply chain? evidence from european wine tariffs.’’ URL https://www.justinrpierce.com/index_files/javorcik_pierce_wisniewski_2025.pdf, Working paper. Julien, Benoit and Sephorah Mangin (2017). ‘‘Efficiency of job creation in a search and matching model with labor force participation.’’ Economics Letters, 150, pp. 149-- 151. doi:10.1016/j.econlet.2016.10.042. Kneller, Richard and Mauro Pisu (2011). ‘‘Barriers to exporting: What are they and who do they matter to?’’ World Economy, 34(6), pp. 893--930. doi:10.1111/j.1467-9701.2011.01357.x. Krolikowski, Pawel M. and Andrew H. McCallum (2021). ‘‘Goods-market frictions and international trade.’’ Journal of International Economics, 129, p. 103,411. doi:https://doi.org/10.1016/j.jinteco.2020.103411. Lagos, Ricardo and Randall Wright (2005). ‘‘A Unified Framework for Monetary Theory and Policy Analysis.’’ Journal of Political Economy, 113(3), pp. 463--484. doi:10.1086/429804.

33 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Mangin, Sephorah and Benoît Julien (2021). ‘‘Efficiency in search and matching models: A generalized hosios condition.’’ Journal of Economic Theory, 193, pp. 105--208. doi:https://doi.org/10.1016/j.jet.2021.105208. Melitz, Marc J. (2003). ‘‘The impact of trade on intra-industry reallocations and aggregate industry productivity.’’ Econometrica, 71(6), pp. 1695--1725. doi:10.1111/1468-0262.00467. Michaillat, Pascal and Emmanuel Saez (2015). ‘‘Aggregate Demand, Idle Time, and Unemployment.’’ Quarterly Journal of Economics, 130(2), pp. 507--569. doi:10.1093/qje/qjv006. Moen, Espen R. (1997). ‘‘Competitive search equilibrium.’’ Journal of Political Economy, 105(2), pp. 385--411. doi:10.1086/262077. Mortensen, Dale T. (1986). ‘‘Job search and labor market analysis.’’ In Orley C. Ashenfelter and Richard Layard, editors, Handbook of Labor Economics, volume 2, chapter 15, pp. 849--919. Elsevier Science. doi:10.1016/s1573-4463(86)02005-9. Nikaidô, Hukukane and Kazuo Isoda (1955). ‘‘Note on non-cooperative convex games.’’ Pacific Journal of Mathematics, 5(S1), pp. 807 -- 815. doi:pjm/1171984836. Ossa, Ralph (2011). ‘‘A ‘‘new trade’’ theory of gatt/wto negotiations.’’ Journal of Political Economy, 119(1), pp. 122--152. doi:10.1086/659371. Ossa, Ralph (2014). ‘‘Trade wars and trade talks with data.’’ American Economic Review, 104(12), pp. 4104--46. doi:10.1257/aer.104.12.4104. Petrosky-Nadeau, Nicolas and Etienne Wasmer (2017). Labor, credit, and goods markets: The macroeconomics of search and unemployment. MIT Press. Available at https://mitpress.mit.edu/books/labor-credit-and-goods-markets. Petrosky-Nadeau, Nicolas, Etienne Wasmer, and Philippe Weil (2018). ‘‘Efficiency in sequential labor and goods markets.’’ doi:10.24148/wp2018-13. Federal Reserve Bank of San Francisco Working Paper 2018-13. Piazzesi, Monika, Martin Schneider, and Johannes Stroebel (2020). ‘‘Segmented Housing Search.’’ American Economic Review, 110(3), p. 720–59. doi:10.1257/aer.20141772. Pissarides, Christopher A. (1985). ‘‘Short-run equilibrium dynamics of unemployment, vacancies, and real wages.’’ American Economic Review, 75(4), pp. 676--690. URL https://www.jstor.org/stable/1821347. Pissarides, Christopher A. (2000). Equilibrium Unemployment Theory. MIT Press, second edition. URL https://ideas.repec.org/b/mtp/titles/0262161877.html. Shimer, Robert (2005). ‘‘The cyclical behavior of equilibrium unemployment and vacancies.’’ American Economic Review, 95(1), pp. 25--49. doi:10.1257/0002828053828572. Smith, Lones (2006). ‘‘The Marriage Model with Search Frictions.’’ Journal of Political Economy, 114(6), pp. 1124--1144. doi:10.1086/510440. STEP (2024). ‘‘State Trade Expansion Program.’’ https://www.sba.gov/funding-programs/grants/state-trade-expansion-program-step Accessed: December 24, 2024. Su, Che-Lin and Kenneth L. Judd (2012). ‘‘Constrained optimization approaches to estimation of structural models.’’ Econometrica, 80(5), pp. 2213--2230. URL http://ideas.repec.org/a/ecm/emetrp/v80y2012i5p2213-2230.html. Wasmer, Etienne and Philippe Weil (2004). ‘‘The Macroeconomics of Labor and Credit Market Imperfections.’’ American Economic Review, 94(4), p. 944–963. doi:10.1257/0002828042002525.

34 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig. 1: Unique general equilibrium of the model Demand Negotiatedprice Marginalrevenue Markettightness Tari,#Marginalcost ) ' ( o d ) ' ( p o d Eqm. price,p$ do (') n ,e c ir p Eq p m ri . ce n , e n g $ d o o t ( ia ' t ) ed ,e d c ir P e t a it o g e N Eqm. market tightness,5$ Eqm. quantity,q$ (') do do Quantity, q (') Market tightness, 5 do do (a) Final price and negotiated quantity (b) Negotiated price and tightness Productivity Meanimports threshold ]) ' Retailerfreeentry o ( 7' d Consumption o d q ,d ) lo ' ( h o s d e n r h [ ' Eqm. t y t iv Eqm. threshold,'7$ do E ,s t E ' [n do (')q do (')]$ it r o c p u m d o i r n P a e M Eqm. consumption,C$ 1 d Consumption, C Market tightness, 5 d do (c) Producer threshold and consumption (d) Mean imports and mkt. tightness Consumption Labordemand Wage Laborsupply d d w w Eqm. wage,w$ Eqm. wage,w$ ,e d ,e d g g a a W W Eqm. consumption,C$ Eqm. labor,L$ 0 d d Consumption, C Labor, L d d (e) Goods market clearing (f) Labor market clearing Note: Fig. 1bdepictsbargainingovernegotiatedpricefromEq. (14)givenmarkettightnessfromFig. 1d (Section2.2.3). Fig. 1adepictsbargainingoverquantitywithdemandandmarginalrevenuefromEq. (2) andmarginalcostfromEq. (5)(Section2.2.2). Fig. 1cdepictstheproducerentrydecisionfromEq. (18) givenconsumptionfromFig. 1e(Section2.2.4). Fig. 1ddepictstheretailerentrydecisionfromEq. (19) givennegotiatedpricesfromFig. 1b(Section2.2.5). Fig. 1edepictsgoodsmarketclearingusingEqs. 26 and27givenwagefromFig. 1f(Section2.3.5). Fig. 1fdepictslabormarketclearingusingEq. (29)andthe country’sendowment(Section2.3.6). Section2.4.2andAppendixA.4.3discusstheequilibrium.

35 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig.2: Homewelfareandoptimaltariffswithoutandwithsearchcosts: Numericalexample Panel A: Home welfare and Home unilateral tariffs 6.58 ) t n 6.54 0.3 ) t n e e ) n 0.5 c r ) n c r o it p m e p ( e o it p m6.53 0.2 e p ( e u 6.57 0.4d au 0.1 d a s n r t s n r t o c la Optimaltari,: 0.3 e e r f o c la 6.52 0 e e r f e r6.56 1.32 me r m ( e r a fle w 0.2 o r f e g n a ( e r a fle w 6.51 - - 0 0 . . 2 1o r f e g n a h h e6.55 0.1ce c m m o e ro 6.5 Optimaltari,: -0.3e r H aH a 0 fle W 1.23 fle W 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Homeimporttari,sonForeign(t ) Homeimporttari,sonForeign(t ) hf hf (a) Without search costs (c = 0 ∀do) (b) With search costs (c > 0) do hf Panel B: Home optimal unilateral tariff as a fixed point 2 2 ) ) t fh1.9 45degreeline t fh1.9 45degreeline ( RHSof-xedpoint ( RHSof-xedpoint n n g1.8 g1.8 ie ie r o1.7 r o1.7 F F n1.6 n1.6 o o Optimaltari,: Optimaltari,: , s ir 1.5 1.32 , s ir 1.5 1.23 a t1.4 a t1.4 t t r o1.3 r o1.3 p p m m 1.2 1.2 i i e e m1.1 m1.1 o o H H 1 1 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Homeimporttari,sonForeign(t ) Homeimporttari,sonForeign(t ) hf hf (c) Without search costs (c = 0 ∀do) (d) With search costs (c > 0) do hf Note: Theleftpanelspresentresultsforthenumericalexamplewithoutsearchcosts,c =0∀do. Theright do panelspresentresultsforthenumericalexamplewithsearchcosts,c >0butc =0∀do̸=hf. Fig. 2a hf do plotsHome’swelfareasfunctionofHome’simporttariff,t ,withoutsearchcosts. Fig. 2cplotstheLHS hf andtheRHSofEq. (35). ThesolidblacklinesdepictstheLHSofEq. (35)(whichisa45degreeline)and thedashedbluelinedepictstheRHSofEq. (35)forvariouslevelsofHome’simporttariff. Theintersection ofthetwolinesidentifiestheoptimaltariff. Fig. 2bplotsHome’swelfareasafunctionofHome’simport tariff,t ,withsearchcosts. Fig. 2dplotstheLHSandtheRHSofEq. (34). Thesolidblacklinedepictsthe hf LHSofEq. (34)(whichisa45degreeline)andthesolidbluelinedepictstheRHSofEq. (34)forvarious levelsofHome’simporttariff. Theintersectionofthetwoidentifiestheoptimaltariff. SeeSection3.2for furtherdetails.

36 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig.3: Optimalunilateraltariffsforendogenous&exogenousfrictions: Numericalexample 1.35 1.35 ) fh 1.34 ) fh 1.34 t(1.33 Numericalexamplewithoutsearch:1.32 t(1.33 Numericalexamplewithoutsearch:1.32 n1.32 n1.32 g g ie1.31 ie1.31 r r o F 1.3 o F 1.3 n1.29 n1.29 , o1.28 Optimaltari,withsearch tu hf , o1.28 Optimaltari,withexog.search tu hf ir1.27 Optimaltari,withoutsear1ch 2tns;u ir1.27 Optimaltari,withoutsearch tn1s;u 2 a hf a hf t1.26 t1.26 t r1.25 1 2 t r1.25 1 2 o o p1.24 p1.24 m m i1.23 i1.23 e m1.22 Numericalexample e m1.22 o1.21 withsearch:1.23 o1.21 H H 1.2 1.2 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 SearchcostforHomeimports c #104 SearchcostforHomeimports c #104 hf hf (a) Optimal tariffs (endo. frictions) (b) Optimal tariffs (exo. frictions) ! " ! " ) ) fh1.35 fh1.35 t( t( s 1.3 s 1.3 , , ir ir a t1.25 a t1.25 t r o p m i e m o 1 1 . 1 1 . . 1 5 2 M M Inv a R e r T k rs d e p o r w o o , n d e u r 1 c c e 1 1 ! ! u rs b b r u h u h v f h p e 2 ri e c l e a s st 3 ic N M i 7 t f u y R h= T N7f h h h ; u 1 u h = 4 H h u f t r o p m i e m o 1 1 . 1 1 . . 1 5 2 M M Inv a R e r T k rs d e p o r w o o , n d e u r 1 c c e 1 1 ! ! u rs b b r u h u h v f h p e 2 ri e c l e a s st 3 ic N M i 7 t f u y R h= T N7f h h h ; u 1 u h = 4 Hu H o t 1.05 Optimaltari,withsearch 1 t1u hf 2 2 H o t 1.05 Optimaltari,withsearch t1u hf hf 2 n n 1 2 o 1 o 1 it it u u b0.95 b0.95 ir ir tn o 0.9 tn o 0.9 C 0 1 2 3 4 5 6 7 8 9 10 C 0 1 2 3 4 5 6 7 8 9 10 SearchcostforHomeimports c #104 SearchcostforHomeimports c #104 hf hf (c) Optimal tariff decomposition (endo.) (d) Optimal tariff decomposition (exo.) ! " ! " y y t t ic 1.4 ic 1.4 it it s s a a le 1.2 le 1.2 e e v v r 1 r 1 u u c c r e 0.8 Inverseo,ercurveelasticity(1=Hhf) r e 0.8 Inverseo,ercurveelasticity(1=Hhf) , o Consumptionshare(1=(<!1)xff) , o Consumptionshare(1=(<!1)xff) e s r e v 0.6 M Pr a ic r e kd e o la w s n tic e i l t a y sti 7 ci 0 t P y hf!;Q 7 h 0 f Bhf;Qhf " e s r e v 0.6 M Pr a ic r e kd e o la w s n tic e i l t a y sti 7 ci 0 t P y hf!;Q 7 h 0 f Bhf;Qhf " n 0.4 ! " n 0.4 ! " i i o o t 0.2 t 0.2 n n o o it u 0 it u 0 b b ir ir tn-0.2 tn-0.2 o 0 1 2 3 4 5 6 7 8 9 10 o 0 1 2 3 4 5 6 7 8 9 10 C C SearchcostforHomeimports c #104 SearchcostforHomeimports c #104 hf hf (e) Offer curve elasticity decomposition (endo.) (f) Offer curve elasticity decomposition (exo.) ! " ! " Note: Allfiguresshowresultsfordifferentlevelsofsearchcostsc >0andc =0∀do̸=hf. Thepanels hf do oftheleftshowresultsforamodelwithendogenoussearchfrictions. Thepanelsontherightshowresults inwhichwefixthematchingandidleratesforeachsearchcosttotheendogenousmatchingandidlerates inthecorrespondingfigureontheleft. Thefirstrowshowstheoptimalunilateralimporttariff,tu ,from hf solvingtheHomecountrysocialplanner’sproblem(Eq. 33). Thesecondrowshowsthedecompositionof theoptimaltariff(Eq. 34). Thethirdrowshowsthedecompositionoftheinverseoftheoffercurve elasticity(Eq. 36). Theverticalaxisinterceptsofthevariouslinescorrespondtothecasewithoutsearch costs,c =0∀do. SeeSections3.2and3.3forfurtherdetails. do

37 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig. 4: Pure strategy Nash equilibrium: Numerical example 2 2 Home best response Home best response 1.9 Foreign best response Foreign best response 1.8 1.8 )1.7 ) t ( f h 1.6 t ( f h 1.6 , , ir a 1.5 1.32 ir a 1.32 t t e m 1.4 e m 1.4 o o H1.3 H 1.32 1.2 1.2 1.18 1.1 1 1 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Foreign tari, (t ) Foreign tari, (t ) fh fh (a) Without search costs (c = 0 ∀do) (b) With search costs (c > 0) do hf Note: Fig. 4aplotsimporttariffbestresponsefunctionsofHomeandForeigninthenumericalexample withoutsearchcosts,c =0∀do. Fig. 4bplotsbestresponsefunctionsofHomeandForeigninthe do numericalexamplewithsearchcosts,c >0andc =0∀do̸=hf. Thebestresponsetariffisthetariff hf do thatmaximizeswelfareincountryh(f)conditionalonatariffincountryf (h). SeeSection3.4forfurther details.

38 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig. 5: U.S. unilateral tariffs and U.S. and Chinese welfare for reduced and baseline search frictions Panel A: U.S. welfare and U.S. unilateral tariffs 10.25 1 ) tn 9.68 0 ) tn ) $ 6 1 0 2 fo .n 10.2 0 0 0 0 . . . . 2 4 6 8 e c r e p ( e n ile s a b ) $ 6 1 0 2 fo .n 9 9 . . 6 6 4 6 Optimaltari,: - - - - - 0 0 0 0 0 . . . . . 5 4 3 2 1 e c r e p ( e n ile s a b t ( e r a fle w .S .U 1 1 0 0 .1 .1 5 Optimaltari,: - - - 0 0 0 0 . . . 6 4 2 m o r f e g n a h c e r a t ( e r a fle w .S .U9 9 . 9 . 5 6 . 8 6 2 1.14 - - - - - 1 0 0 0 0 . . . . 9 8 7 6 m o r f e g n a h c e r a 10.05 1.38 -0.8fleW 9.56 -1.1fleW 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 U.S.importtari,sonChina(t ) U.S.importtari,sonChina(t ) uc uc (a) Intl. search costs reduced to domestic levels (b) Baseline search costs Panel B: Chinese welfare and U.S. unilateral tariffs 10.8 ) 9.15 ) Optimaltari,: 2 tn 1 tn ) $ 6 1 0 2 fo .n t ( e r a fle w 1 1 1 9 0 0 0 1 . . . . 8 0 2 4 6 1.38 - - - 0 6 4 2 e c r e p ( e n ile s a b m o r f e g ) $ 6 1 0 2 fo .n t ( e r a fle w8 8 9 . 8 . . 9 8 9 0 . . 5 9 5 9 5 1 - - - - 0 0 2 1 1 0 .5 . . 5 5 e c r e p ( e n ile s a b m o r f e g e s e n 9.6 -8 n a h c e s e n 8.8 -2.5 n a h c ih C 9.4 -10e r a ih C8.75Optimaltari,: -3 e r a 9.2 -12 fleW 8.7 1.14 -3.5fleW 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 U.S.importtari,sonChina(t ) U.S.importtari,sonChina(t ) uc uc (c) Intl. search costs reduced to domestic levels (d) Baseline search costs Note: Fig. 5a(Fig. 5c)plotsU.S.(Chinese)welfareasafunctionofU.S.importtariffswithallparametersas inthebaselinebutwithinternationalsearchcostsreducedtotheirdomesticlevelsandgivenby c ×104 =10.43,c ×104 =15.28,c ×104 =10.43,c ×104 =15.28. Fig. 5b(Fig. 5d)plotsU.S. uu cu uc cc (Chinese)welfareasafunctionofU.S.importtariffsinthebaselinecalibratedmodel,asinTable1. Theleft verticalaxisdenoteslevelsandtherightverticalaxisdenotesthewelfarechangefromobserved2016tariff levels. SeeSections5.1and5.2forfurtherdetails.

39 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Table 1: Calibrated model parameters Parameter Value Unit Reason PanelA.Externallycalibratedparameters Producers’bargainingpower(β) 0.50 fraction Benchmark Risk-freerate(r×102) 5.00 percent Interestrate Separationrate(λ) 1.00 Poissonrate Amongtradingpartners Elasticityofsubstitution(σ) 4.00 elasticity Demandestimation Paretoshapeparameter(θ) 3.18 unitless U.S.firmsizedistribution Efficiencyofmatchingfunction(ξ) 1.00 elasticity Normalization LaborendowmentinUS(L ) 213.72 mn. people Workingagepopulation u LaborendowmentinCH(L ×) 988.05 mn. people Workingagepopulation c FirmendowmentinUS(Nx×10−1) 500.00 num. varieties Consumptionlevel u FirmendowmentinCH(Nc×10−1) 500.00 num. varieties Consumptionlevel x IcebergoriginUS(A ) 1.00 multiple Gravityequation o=u Icebergscale(A) 1.00 multiple Gravityequation USdomestictax(t ) 1.06 multiple Salestaxrate uu CHimporttariff(t ) 1.17 multiple ImportVATrate cu USimporttariff(t ) 1.08 multiple Tariffsplussalestax uc CHdomestictax(t ) 1.11 multiple VATrate cc InternaldistanceUStoUS(D ) 1.85 kkm Distance uu DistancetoCHfromUS(D ) 11.18 kkm Distance cu DistancetoUSfromCH(D ) 11.18 kkm Distance uc InternaldistanceCHtoCH(D ) 1.02 kkm Distance cc PanelB.Internallycalibratedparameters USdomesticsearchcost(c ×104/χ(κ )) 18.14 labor USmfg. capacityutilization uu uu CHimporters’searchcost(c ×104/χ(κ )) 171.43 labor PercentofUSfirmsexp. toCH cu cu USimporters’searchcost(c ×104/χ(κ )) 8.14 labor PercentofCHfirmsexp. toUS uc uc CHdomesticsearchcost(c 104)/χ(κ ) 33.82 labor CHmfg. capacityutilization cc cc USdomesticfixedcost(f ×104) 6.74 labor USbusinessfailurerate uu USexportfixedcost(f ×104) 8.17 labor CH-USexporterfailurerate cu CHexportfixedcost(f ×104) 9.47 labor US-CHexporterfailurerate uc CHdomesticfixedcost(f ×104) 16.36 labor CHbusinessfailurerate cc USexplorationcost(ex×102) 1.84 labor Investmentexpenditure u CHexplorationcost(ex×102) 12.90 labor Investmentexpenditure c IcebergdestinationUS(A ×10−2) 464.31 multiple Gravityequation d=u IcebergdestinationCH(A ×10−2) 201.49 multiple Gravityequation d=c IcebergoriginCH(A ) 7.73 multiple Gravityequation o=c Icebergdistance(a ) 0.07 elasticity Gravityequation 1 Elasticityofmatchingfunction(η) 0.33 elasticity Log-linearimportelasticity Note: The‘‘Reason’’columnprovidesthereasonforexternallycalibratedparametersandthemainsourceof identificationforinternallycalibratedparameters. Thelevelsoftheretailersearchcosts,c ×104 =10.43, uu c ×104 =632.03,c ×104 =15.34,c ×104 =15.28,donothavemeaningbecausetheydependonthe cu uc cc normalizationofthematchingefficiency,ξ,asinShimer(2005). Assuch,wereportaverageretailersearch costs,c /χ(κ ),whichhaveintrinsicmeaning. Parametersnotshownareh =l =s =0∀do. do do do do do Calibratedparametersofthemodelareatannualfrequency. Wediscussthecalibrationmethodologyin Section4andintuitionforparameteridentificationinAppendixC.2. ‘‘CH’’standsforChinaand‘‘US’’ standsfortheUnitedStates.

40 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Table 2: Model fit Moment description Data Model Unit Log-log imports distance -0.9 -0.9 elasticity Log-log imports tariffs -5.0 -5.2 elasticity US mfg. capacity utilization 75 76 percent US firms exporting to CH 6 6 percent CH firms exporting to US 21 21 percent CH mfg. capacity utilization 74 84 percent US business failure rate 20 20 percent CH-US exporter failure rate 60 56 percent US-CH exporter failure rate 40 40 percent CH business failure rate 20 20 percent US dom. consump. share (IM /(IM +IM )) 86 95 percent uu uu uc CH dom. consump. share (IM /(IM +IM )) 85 91 percent cc cc cu US wage 52 60 $ thsnd. CH wage 11 11 $ thsnd. CH imports from US (IM ) 463 438 $ bn. cu US imports from CH (IM ) 463 438 $ bn. uc US investment 5,980 6,034 $ thsnd. CH investment 6,773 7,532 $ thsnd. US consumption 12,727 9,673 $ bn. CH consumption 4,418 5,451 $ bn. US GDP 18,707 15,708 $ bn. CH GDP 11,191 12,983 $ bn. US price index (P ) 1,000 1,000 percent u CH price index (P ) 603 603 percent c Note: Themodelmatchestheempiricaltargetsrelativelywell. The‘‘Data’’and‘‘Model’’columnspresent thevalueofthecorrespondingmomentinthedataandmodelatthecalibratedparametervaluesgivenin Table1. ‘‘CH’’standsforChina,‘‘US’’fortheUnitedStates,and‘‘GDP’’forGrossDomesticProduct. The countrydconsumptionshareisIM /(IM +IM ). TheparameterA inEq. (C183)byitselfdefinesthe dd dd do d levelofthepriceindexΞ withoutchanginganyothervalueandgetszeroweightintheMPECobjective d function. ThenormalizationvalueischosentoexpressrealGDPintrillionsofdollarsandsatisfypurchase powerparityof60percentbetweentheUnitedStatesandChina. Wediscussmodelfitandotherdetailsin Section4.

41 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Table 3: Optimal tariffs with baseline search frictions (1) (2) (3) (4) Baseline US CSP CH CSP Nash (tc ,tc ) (tc ,tu ) (tu ,tc ) (tn ,tn ) cu uc cu uc cu uc cu uc (A) Chinese import tariffs (t ) 1.17 1.17 1.15 1.13 cu (B) U.S. import tariffs (t ) 1.08 1.14 1.08 1.15 uc (C) U.S. welfare (tn. of 2016 $) 9.67 9.68 9.68 9.69 (D) Chinese welfare (tn. of 2016 $) 9.04 8.99 9.04 8.98 (E) U.S. welfare change from baseline (%) 0.00 0.03 0.09 0.20 (F) Chinese welfare change from baseline (%) 0.00 -0.57 0.01 -0.66 Note: Resultswithbaselinesearchfrictions. TherowsofthetableshowChineseandU.S.importtariffs,the levelofwelfareinbothcountries,andthechangeinwelfarefromthebaselinecalibration. Column1shows resultswhentariffsaresettotheirbaselinelevel,asinTable1. Column2(3)showsresultswhenthe Chinese(U.S.)tariffissetatthebaselinelevelandtheU.S.(Chinese)tariffisunilaterallysettomaximize U.S.(Chinese)welfare. Column4showsresultsfortheNashequilibriumwhenbothcountrieschoosetariffs optimally. ‘‘CSP’’standsforcountrysocialplanner. SeeSections5.1and5.2forfurtherdetails. Table 4: Optimal tariffs with international search costs reduced to domestic levels (1) (2) (3) (4) Baseline US CSP CH CSP Nash (tc ,tc ) (tc ,tu ) (tu ,tc ) (tn ,tn ) cu uc cu uc cu uc cu uc (A) Chinese import tariffs (t ) 1.17 1.17 1.36 1.30 cu (B) U.S. import tariffs (t ) 1.08 1.38 1.08 1.33 uc (C) U.S. welfare (tn. of 2016 $) 10.14 10.24 9.99 10.11 (D) Chinese welfare (tn. of 2016 $) 10.50 9.80 10.61 9.94 (E) U.S. welfare change from baseline (%) 0.00 1.00 -1.49 -0.30 (F) Chinese welfare change from baseline (%) 0.00 -6.71 1.00 -5.37 Note: Resultsforacalibrationinwhichallparametersareasinthebaselinebutwithinternationalsearch costsreducedtotheirdomesticlevelsandgivenbyc ×104 =10.43,c ×104 =15.28,c ×104 =10.43, uu cu uc c ×104 =15.28. TherowsofthetableshowChineseandU.S.importtariffs,thelevelofwelfareinboth cc countries,andthechangeinwelfarefromthebaselinecalibration. Column1showsresultswhentariffsare settotheirbaselinelevel,asinTable1. Column2(3)showsresultswhentheChinese(U.S.)tariffissetat thebaselinelevelandtheU.S.(Chinese)tariffisunilaterallysettomaximizeU.S.(Chinese)welfare. Column4showsresultsfortheNashequilibriumwhenbothcountrieschoosetariffsoptimally. ‘‘CSP’’ standsforcountrysocialplanner. SeeSections5.1and5.2forfurtherdetails.

Appendix to ‘‘Tariffs and Goods-Market Search Frictions’’ Pawel M. Krolikowski* Andrew H. McCallum† March 12, 2026 A Model appendix: Model details, model solution, and aggregation In this appendix we study the same consumer problem as in the main text but assume that the representative consumer combines differentiated varieties with a homogeneous good using a Cobb-Douglas utility function: (cid:34) (cid:35)αµ O (cid:88) 1 max q (1)1−α Qµ (A1a) d dk q (1),q (ω) d dk k=1 (cid:20)(cid:90) (cid:21)µ s.t. Q do = q do (ω)µ 1 dω , (A1b) ω∈Ω do O (cid:90) (cid:88) C = p (1)q (1)+ p (ω)q (ω)dω, (A1c) d d d dk dk ω∈Ω k=1 dk The homogeneous good has price p (1). The solution results in the following demand for d the homogeneous good and each differentiated variety, respectively (1−α)C p (ω)−σ q (1) = d , q (ω) = αC do . (A2) d p (1) do d P1−σ d d We assume that the homogeneous good is produced with one unit of labor under constant returns to scale in each country. As such, the price of the homogeneous good must equal the wage in each country, p (1) = w ,∀d. To obtain results in the main text, set α = 1, d d which removes the homogeneous good. A.1 Model details A.1.1 Consumer problem with no storage technology Define P as the price index for the bundle of differentiated varieties and P as the d do price index for the bundle of varieties produced in country o and consumed in country d: (cid:34) (cid:35) 1 (cid:34) (cid:35) 1 O (cid:90) 1−σ O 1−σ (cid:88) (cid:88) P = p (ω)1−σdω = P1−σ . (A3) d dk dk ω∈Ω k=1 dk k=1 The ideal price index including the homogeneous good that minimizes expenditure to obtain utility level U = 1 is d Ξ = [p (1)/(1−α)]1−α[P /α]α. (A4) d d d *pawel.krolikowski@clev.frb.org,FederalReserveBankofCleveland,1455E6thSt,Cleveland,OH44114 †Correspondingauthor,andrew.h.mccallum@frb.gov,BoardofGovernorsoftheFederalReserveSystem, Washington,DC20551 1

2 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Notice that if α = 1 then Ξ = P . We solve the consumer’s utility maximization and d d expenditure minimization problems explicitly in KM, Appendix A.1. The approach in the main text yields the same consumer demand functions as the solution to a dynamic problem with discounting if we assume that the consumer cannot use trade relationships to transfer resources across time. In this case, the consumer problem is: (cid:34) (cid:35)α( σ ) (cid:90) ∞ O (cid:90) σ−1 max e−rtq d (1,t)1−α (cid:88) q dk (ω,t) (σ− σ 1) dω dt (A5) q d (1,t),q dk (ω,t) 0 k=1 ω∈Ω dk O (cid:90) (cid:88) s.t. C (t) = p (1,t)q (1,t)+ p (ω,t)q (ω,t)dω, d d d dk dk ω∈Ω k=1 dk in which the consumer chooses the quantity of the homogeneous and differentiated varieties at each point in time to maximize discounted utility, subject to their budget constraint. This problem has no state variable because if we included a state variable that is affected by a choice variable, the consumer would implicitly have access to a storage technology. The associated current value Hamiltonian is H = q d (1,t)1−α (cid:34) (cid:88) O (cid:90) q dk (ω,t) (cid:16)σ− σ 1(cid:17) dω (cid:35)α (cid:16) σ− σ 1 (cid:17) k=1 ω∈Ωdk (cid:34) O (cid:90) (cid:35) (cid:88) − µ(t) p (1,t)q (1,t)+ p (ω,t)q (ω,t)dω−C (t) . d d dk dk d k=1 ω∈Ωdk Notice that this Hamiltonian is identical to the Lagrangian for the one-period problem in Appendix A.1.1 of KM (2021), except the Hamiltonian includes t indices. The first order necessary conditions are Hqd(1,t) = (1−α)qd(1,t)−α   k (cid:88) O =1 (cid:90) ω∈Ωdk qdk(ω,t) (cid:16)σ− σ 1(cid:17) dω  −µ(t)pd(1,t)=0 Hqdk(ω,t) = qd(1,t)1−αα (cid:18) σ− σ 1 (cid:19)   k (cid:88) O =1 (cid:90) ω∈Ωdk qdk(ω,t) (cid:16)σ− σ 1(cid:17) dω   α (cid:16) σ− σ 1 (cid:17) −1 (cid:18) σ− σ 1 (cid:19) qdk(ω,t) (cid:16)σ− σ 1(cid:17) −1 −µ(t)pdk(ω,t)=0. Using the steps in Appendix A.1.1 of KM (2021) yields the demand functions: (1−α)C (t) p (ω,t)−σ q (1,t) = d , q (ω,t) = αC (t) do , (A6) d p (1,t) do d P (t)1−σ d d which replicates Eq. (2) in the main text if we drop the t index. Appendix B.1 shows that welfare in the dynamic and static settings are trivially different and do not affect any of the main results.

3 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS A.1.2 Consumer problem with a storage technology If we allow the consumer to transfer resources across time by using domestic (dd) relationships as an asset, the consumer problem is: qd(1,t m ),q a d x k(φ,t) (cid:90) 0 ∞ e−rtq d (1,t)1−α (cid:34) k (cid:88) O =1 (cid:18) 1− 1− u d i k dk (cid:19) N k x (cid:90) φ¯dk q dk (φ,t) (σ− σ 1) dG(φ) (cid:35)α( σ− σ 1 ) dt (A7a) s.t.C (t)=p (1,t)q (1,t)+ (cid:88) O (cid:18) 1− u dk (cid:19) Nx (cid:90) p (φ,t)q (φ,t)dG(φ), (A7b) d d d 1−i k dk dk k=1 dk φ¯dk Y (t)=C (t)+I (t), (A7c) d d d (u ˙ Nx)=λ(1−u −i )Nx−κ χ(κ )u Nx ∀do, (A7d) do o do do o do do do o in which we have used KM Appendix A.11.1 to move from an index ω to a distribution of goods over φ to highlight dependence on u . The consumer maximizes discounted utility, do Eq. (A7a), subject to their budget constraint, Eq. (A7b). The consumer can also use investment in Eq. (A7c) to transfer consumption across time, subject to the equation of motion for the number of unmatched producers in each market, Eq. (A7d). Because the consumer uses only domestic relationships as an asset, we maintain balanced trade and set NX = 0 in the resource constraint, Eq. (A7c). If the consumer could also use foreign d relationships (do) as an asset then trade might not be balanced in each period. We discuss this approach below. The state variables for the problem in Eq. (A7) are the unmatched fraction in each do market, u , from Eq. (A7d). This follows because Nx is a constant so that Eq. (A7d) do o yields u˙ = λ(1−u −i )−κ χ(κ )u . (A8) do do do do do do The current value Hamiltonian associated with Eq. (A7) is therefore H = q d (1,t)1−α (cid:34) (cid:88) O (cid:18) 1− 1− u d i k (cid:19) N k x (cid:90) q dk (φ,t) (σ− σ 1) dG(φ) (cid:35)α( σ− σ 1 ) k=1 dk φ¯dk + λ (t) (cid:34) C (t)−p (1,t)q (1,t)− (cid:88) O (cid:18) 1− u dk (cid:19) Nx (cid:90) p (φ,t)q (φ,t)dG(φ) (cid:35) C d d d 1−i k dk dk k=1 dk φ¯dk + λ (t)[Y (t)−C (t)−I (t)] Y d d d (cid:88)(cid:88) + µ (t)[λ(1−u −i )−κ χ(κ )u ]. do do do do do do d o The first order necessary conditions with respect to the control variables are: H = 0 q (1,t) d H = 0 q (φ,t) dk

4 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS in which H qd(1,t) =(1−α)q d (1,t)−α (cid:34) (cid:88) O (cid:18) 1− 1− u d i k (cid:19) N k x (cid:90) q dk (φ,t) (σ− σ 1) dG(φ) (cid:35)α( σ− σ 1 ) k=1 dk φ¯dk (A9) (cid:20) (cid:21) (cid:20) (cid:21) −λ (t)p (1,t)+λ (t) ∂Y d (t) − ∂I d (t) + (cid:88)(cid:88) µ (t) −λ ∂i do − ∂κ do χ(κ do ) u , C d Y ∂q (1,t) ∂q (1,t) do ∂q (1,t) ∂q (1,t) do d d d d d o and H qdk(φ,t) =q d (1,t)1−αα (cid:18) σ− σ 1 (cid:19)(cid:34) (cid:88) O (cid:18) 1− 1− u d i k (cid:19) N k x (cid:90) q dk (φ,t) (σ− σ 1) dG(φ) (cid:35)α( σ− σ 1 )−1 k=1 dk φ¯dk (cid:18) (cid:19) (cid:18) (cid:19) × 1− 1− u d i k N k x σ− σ 1 q dk (φ,t) (σ− σ 1)−1 (A10) dk (cid:18) (cid:19) (cid:20) (cid:21) u ∂Y (t) ∂I (t) −λ (t) 1− dk Nxp (φ,t)+λ (t) d − d C 1−i k dk Y ∂q (φ,t) ∂q (φ,t) dk dk dk (cid:20) (cid:21) ∂i ∂κ χ(κ ) +µ (t) −λ dk − dk dk u . dk ∂q (φ,t) ∂q (φ,t) do dk dk In Eq. (A9), homogeneous good consumption affects utility directly. It also affects aggregate resources, Y (t), as well as investment, I (t), through its effects on the d d equilibrium wage, among other things. In Eq. (A10), differentiated good consumption affects utility directly. It also affects aggregate resources through its effects on profits and government revenue, as well as investment through its effects on the equilibrium wage. The necessary first order conditions with respect to the state variables are H = −µ˙ (t)+rµ (t)∀d,o, u do do do which implies that −µ˙ do (t)+rµ do (t) = −q d (1,t)1−αα (cid:18) σ− σ 1 (cid:19)(cid:34) k (cid:88) O =1 (cid:18) 1− 1− u d i k dk (cid:19) N k x (cid:90) φ¯dk q dk (φ,t) (cid:16)σ− σ 1(cid:17) dG(φ) (cid:35)α (cid:16) σ− σ 1 (cid:17) −1 (cid:18) 1 (cid:19) (cid:90) (cid:16)σ−1(cid:17) × 1−i do N o x φ¯do q do (φ,t) σ dG(φ) (cid:18) 1 (cid:19) (cid:90) +λC(t) 1−i do N o x φ¯do p do (φ,t)q do (φ,t)dG(φ) (cid:20)∂Y (t) ∂I (t)(cid:21) +λY (t) ∂u d − ∂u d +µ do (t)[−λ−κ do χ(κ do )]. do do The unmatched rate affects utility directly through the measure of goods that are consumed, but it also affects aggregate resources and investment. The unknowns for this problem in each time t are the quantities of the homogeneous and differentiated goods, and the costate variables λ , λ , and µ ∀d,o. The equations are C Y do the the budget constraint (Eq. A7b), the aggregate resource constraint (Eq. A7c), the equation of motion for each state variable (Eq. A8), the FOC for the homogeneous good (Eq. A9), and the FOCs for the differentiated goods (Eq. A10). These variables and equations define a system that defines the consumer’s problem out of steady state. If we focus on outcomes in the steady state we would impose the additional condition that µ˙ (t) = 0∀d,o. do

5 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS If the consumer can use domestic (dd) and international (do) relationships as assets, the consumer problem is similar to the maximization problem in Eq. (A7) above, but trade between economies need not be balanced in each period. In this case, the resource constraint, Eq. (A7c), would also include NX ̸= 0. d A.1.3 The matching function The rate at which retailers in country d contact producers in country o, χ(κ ), is the do number of matches formed each instant over the number of searching retailers: m(u Nx,v Nm) ξ(u Nx)η(v Nm)1−η χ(κ ) = do o do d = do o do d = ξκ−η. (A11) do v Nm v Nm do do d do d Notice that retailers’ contact rate falls with market tightness (dχ(κ )/dκ < 0) because do do with more retailers relative to producers, the search market becomes congested with retailers. The rate at which producers in country o contact retailers in country d is the number of matches formed each instant over the number of searching producers, so that the producer contact rate is, κ χ(κ ) = ξκ1−η. (A12) do do do Producers’ contact rate rises with tightness (dκ χ(κ )/dκ > 0), also called a market do do do thickness effect. Market tightness is defined from the perspective of producers so that the market is tighter when there are relatively more retailers than producers. Eqs. (A11) and (A12) are restated in Eq. (4) of the main text. A.1.4 Producers’ value functions The value of a producer with productivity φ being matched to a retailer, X (φ), can do be summarized by a value function in continuous time defined in Eq. (6). That asset equation states that the flow return at the risk-free rate, r, from the value of producing must equal the flow payoff plus the expected capital gain from operating as an exporting producer. Each producer is indexed by exogenous productivity, φ. The flow payoff consists of n q , the revenue obtained from selling q units of the good at negotiated do do do price n to retailers, less the variable, Eq. (5), and fixed costs of production, w f . The do o do last term in Eq. (6) is the value from the dissolution of the match, which occurs at exogenous rate λ and leads to a capital loss of U (φ)−X (φ) as the producer loses do do value X (φ) but gains the value of being an unmatched producer, U (φ). In writing Eq. do do (6), we explicitly write the value X (φ) as a function of the producer’s productivity, φ, do but we conserve on notation by omitting this argument from the negotiated price, n , do and traded quantity, q . do The value that an unmatched producer receives from looking for a retail partner without being in a business relationship is defined by Eq. (7). The flow search cost, w l , o do is what the producer pays when looking for a retailer. Examples of which are the costs of maintaining foreign sales offices, sending sales representatives abroad, researching potential foreign buyers, and paying for a web presence. The second term captures the expected capital gain, in which κ χ(κ ) is the endogenous rate at which producing firms do do contact retailers, and w s is the sunk cost of starting up the relationship. The producer o do considers the difference between being in a business relationship, X (φ), and searching, do

6 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS U (φ), rather than these quantities separately. As such, any additive term that enters do both Eqs. (6) and (7) will not affect producers’ decisions. The producing firm also has the option of remaining idle and not expending resources to look for a retailer. For producers, the value of not searching, I (φ), is given by Eq. (8). do The value to a producer of remaining idle can be interpreted, for example, as the value of the stream of payments after liquidation or the flow payoff from home production if these firms are viewed as entrepreneurs. A.1.5 Retailers’ value functions The value of a retailing firm in a business relationship with a producer of productivity φ, is defined by the asset Eq. (9) The flow payoff from being in a relationship is the revenue generated by selling q units of the product to a representative consumer at a do final sales price, p —determined in Appendix A.2.2—less the tariff inclusive cost of do acquiring these goods from producers at negotiated price n . As stated in the main text, do tariff revenue is collected from the retailers by the government and rebated lump-sum to consumers. When the relationship is destroyed exogenously, at rate λ, the retailing firm loses the capital value of being matched. All retailers are identical before matching but have differential matched values because producers are heterogeneous in their productivity. Retailers do not use the product as an input in another stage of production but only facilitate the match between producers and consumers and collect tariffs that are paid to the government. In the event that the relationship undergoes an exogenous separation, at rate λ, the retailing firm loses the capital value of being matched, V −M (φ). do do The value of being an unmatched retailer, V , satisfies Eq. (10). Retailers need to pay do a flow cost, w c , to search for a producing affiliate. At endogenous Poisson rate χ(κ ), d do do retailing firms meet a producer of unknown productivity. Producers’ productivities are ex-ante unknown to retailers so retailers take the expectation over all productivities they might encounter when computing the expected continuation value of searching. As a result, the value, V , is not a function of a producer’s productivity, φ, but rather a do function of the expected payoff. We assume that upon meeting, but before consummating a match, retailers learn the productivity of the producer. Depending on the producer’s productivity, φ, retailers choose between matching with that producer, which generates value M (φ), or continuing the search, which generates V . Hence, the capital gain to do do retailers from meeting a producer with productivity φ can be expressed as max{V ,M (φ)}−V . do do do A.2 Solving the partial-equilibrium search problem A.2.1 The surplus, value, and expected duration of a relationship To derive the surplus in terms of model primitives, substitute Eqs. (6), (7), (9), and free entry for retailers, V = 0, into Eq. (11) to write the surplus as, do (cid:18) (cid:19) βκ χ(κ ) do do r+λ+ S (φ) = p q +n q (1−t )−v(q ,w ,τ ,φ)−w δ , do do do do do do do o do o do β +t (1−β) do (A13) in which we use Eq. (4) to get κ χ(κ ) = ξκ1−η and we define, do do do δ ≡ δ (ξ,η,f ,l ,s ,κ ) = f −l −ξκ1−ηs . (A14) do do do do do do do do do do

7 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Now substitute the negotiated price from Eq. (14) into Eq. (A13) and Eq. use (15) written as (r+λ)(1−β) γ = (A15) do r+λ+βξκ1−η do to write surplus as, (cid:18) (cid:19)(cid:18) (cid:19) β +t (1−β) p q S (φ) = do do do −v(q ,w ,τ ,φ)−w δ . (A16) do do o do o do r+λ+βκ χ(κ ) t do do do The surplus created by a match is the appropriately discounted after-tariff flow profit, with the search cost w l and the sunk cost w s also entering the surplus equation o do o do (through δ ) because being matched avoids paying these costs. do There are four things to notice about Eq. (A16). First, if t = w = 1, it becomes the do o surplus in Appendix A.3 Eq. (A33) of KM. Second, the surplus from a match is a function of productivity. We show in Appendix A.2.4.3 that matches that include a more productive exporting firm lead to greater surplus, that is, S′ (φ) > 0. Third, the value of do a relationship depends on aggregate endogenous quantities such as the price index, consumption, and finding rate κ χ(κ ), among others. Finally, surplus is greater than or do do equal to zero if and only if after-tariff total profits are. That is, when p q do do −v(q ,w ,τ ,φ)−w f +w l +w s κ χ(κ ) ≥ 0. (A17) do o do o do o do o do do do t do The value of the relationship to the producer is X (φ) and to the retailer M (φ). do do Therefore, the total value of a matched relationship is, R (φ) = X (φ)+M (φ). (A18) do do do We can express Eq. (A18) in terms of surplus and then Eq. (11) with V = 0, by adding do and subtracting Eq. (7), substituting in Eq. (13) for X (φ)−U (φ) and then simplifing do do to get (cid:20) (cid:21) (cid:20) (cid:21) r(β +t (1−β))+βκ χ(κ ) w l +κ χ(κ )w s R (φ) = do do do S (φ)− o do do do o do . (A19) do do r(β +t (1−β)) r do Eq. (A19) can be expressed in terms of model primitives using (A16) and the definitions for those functions provided in Eqs. (12), (5), and (2). Relationships are destroyed at Poisson rate λ in the model, which implies the average duration of each match is 1/λ. Because the destruction rate is exogenous and does not vary in our model, the average duration of each match is constant. The value of a relationship in product markets has been of recent interest in Monarch and Schmidt-Eisenlohr (2023) and Heise (2016). Finally, Eq. (A19) is the same as the R (φ) equation on page 7 of Appendix A.3 of KM do when t = 1 and w s = 0. do o do A.2.2 Bargaining over the quantity Upon meeting, the retailer and producer bargain over the negotiated price, n , and do quantity, q , simultaneously. We assume that these objects are determined by the do generalized Nash bargaining solution, which, as shown by Nash (1950) and Osborne and

8 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Rubinstein (1990), is equivalent to maximizing the following Nash product: max [X (φ)−U (φ)]β[M (φ)−V ]1−β,0 ≤ β < 1, (A20) do do do do q ,n do do in which β is producers’ bargaining power. To solve Eq. (A20), first solve for X (φ)−U (φ) by combining Eqs. (6) and (7) to get that: do do n q −v(q ,w ,τ ,φ)−w f +w l +κ χ(κ )w s X (φ)−U (φ) = do do do o do o do o do do do o do . (A21) do do r+λ+κ χ(κ ) do do Next rearrange Eq. (9) to get that: p (q )q −t n q −rV M (φ)−V = do do do do do do do . (A22) do do r+λ Substitute Eqs. (A21) and (A22) into (A20), then log and differentiate with respect to q do to get the relevant first order condition for quantity: (cid:18) (cid:19) (cid:18) (cid:19) ∂v(q ,w ,τ ,φ) ∂p (q ) do o do do do n − p (q )+ q −t n do do do do do do ∂q ∂q β do +(1−β) do = 0. (A23) [X (φ)−U (φ)](r+λ) [M (φ)−V ](r+λ) do do do do We do not need to calculate the partial derivative with respect to κ , w , or other do o endogenous variables, because we assume individual varieties are too small to influence aggregate values. Hence, when they meet, the firms bargain taking everything but n do and q as given. Furthermore, the partial of the value of a vacancy, ∂V /∂n = 0, do do do because bargaining takes place over each variety, φ, individually. As long as the distribution of varieties is continuous, ∂V /∂n does not have an effect on the do do expectation in the continuation value in Eq. (10). Considering only solutions with positive values for Eq. (A22) and q > 0, we plug Eq. do (A28) into (A23) rearrange to get: ∂p (q ) ∂v(q ,w ,τ ,φ) p (q )+ do do q = t do o do . (A24) do do do do ∂q ∂q do do This expression says that the quantity produced and traded equates marginal revenue earned from consumers to tariff-inclusive marginal production cost paid by producers. Eq. (A24) is the same in a model with or without search frictions implying that search does not change the quantity traded within each match. In a model of search, parties agree upon a quantity that equates marginal revenue and marginal tariff-inclusive cost because that quantity maximizes surplus. CES utility implies the consumer’s price elasticity of demand from Eq. (2) is ∂q p do do = −σ. (A25) ∂p q do do Indexing an individual variety by ω is equivalent to indexing by φ and we have treated these interchangeably when using Eq. (2) here. The equivalence of indexing variables

9 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS contrasts with changing from a measure over a set of goods indexed by ω to a distribution of goods indexed by φ, which is subtle and discussed in detail in KM Appendix A.11.1. Combining Eq. (A25) with the fact that ∂p /∂q = 1/(∂q /∂p ), we can write Eq. do do do do (A24) as (cid:18) (cid:19) ∂p (q ) σ −1 ∂v(q ,w ,τ ,φ) p (q )+ do do q = p = t do o do . (A26) do do do do do ∂q σ ∂q do do Rearranging Eq. (A26) and computing marginal costs from Eq. (5) gives Eq. (12). Finally, setting price equal to average total cost (ATC) gives zero profit for any variety. As such, Eq. (12) is always at least as high as ATC for all traded varieties above the threshold defined in Eq. (18) and therefore defines the equilibrium price. A.2.3 Bargaining over the negotiated price Substitute Eqs. (A21) and (A22) into (A20), then log and differentiate with respect to the n to get the relevant first order condition: do q /(r+λ) −t q /(r+λ) β do +(1−β) do do = 0, (A27) X (φ)−U (φ) M (φ)−V do do do do in which we use the same reasoning to impose ∂V /∂n = 0 as in Appendix A.2.2. do do For any variety that is traded, q > 0, Eq. (A27) can be written as, do β(M (φ)−V ) = (1−β)t (X (φ)−U (φ)). (A28) do do do do do Using Eqs. (A28) and (11) delivers the surplus sharing rule, Eq. (13). To find the negotiated price show in Eq. (14), use the equilibrium free entry condition V = 0 and do substitute (A21) and (A22) into (A28), then solve for n . do A.2.4 Producers’ search productivity threshold There are two productivity thresholds to consider. First, there is a productivity threshold, φ¯ , that makes the producer indifferent between searching and remaining idle do defined by, U (φ¯ )−I (φ¯ ) = 0. Second, there is a weakly lower productivity do do do do threshold, φ , which makes that producer indifferent between consummating a do relationship¯ upon contacting a retailer and continuing to search defined by, X (cid:0) φ (cid:1) −U (cid:0) φ (cid:1) = 0. We derive these two thresholds and show in Appendix A.2.4.2 do do do do that t¯he binding¯threshold is defined by φ¯ , because φ¯ ≥ φ if and only if do do do w l +w h +κ χ(κ )w s ≥ 0. ¯ o do o do do do o do The productivity threshold nests the threshold from KM (Eq. 18) and we compare it to productivity thresholds in other models in Appendix A.6.4 of the same paper. A.2.4.1 Solving for the binding productivity threshold Combine Eqs. (7) and (8) to get −w l +κ χ(κ )(X (φ)−U (φ)−w s )−w h U (φ )−I (φ ) = o do do do do do o do o do (A29) do do do do r

10 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS The threshold productivity, φ¯ , is given by U (φ¯)−I (φ¯ ) = 0 so evaluate Eq. (A29) do do do do at φ¯ , set the left hand side to zero, and rearrange to get do w l +w h X (φ¯ )−U (φ¯ ) = o do o do +w s . (A30) do do do do o do κ χ(κ ) do do Substitute Eq. (A21) into Eq. (A30) and suppress φ¯ for simplicity to derive do (cid:18) (cid:19) (cid:18) (cid:19) r+λ r+λ n q −v(q ,w ,τ ,φ)−w f = w l + 1+ w h +(r+λ)w s . do do do o do o do κ χ(κ ) o do κ χ(κ ) o do o do do do do do Now, use the negotiated price, n , from Eq. (14), to get do (cid:18) (cid:19) p (1−γ ) do q +γ (v(q ,w ,τ ,φ)+w f −w l −κ χ(κ )w s )−v(q ,w ,τ ,φ)−w f do t do do do o do o do o do do do o do do o do o do do (cid:18) (cid:19) (cid:18) (cid:19) r+λ r+λ = w l + 1+ w h +(r+λ)w s . κ χ(κ ) o do κ χ(κ ) o do o do do do do do which can be rearranged to obtain (cid:18)p (cid:19) t do q do −v(q do ,wo,τ do ,φ)−wof do do (cid:20)(cid:18) r+λ (cid:19) (cid:18) r+λ (cid:19) (cid:21) =(1−γ do )−1 κ χ(κ ) wol do + 1+ κ χ(κ ) woh do +(r+λ)wos do +γ do [wol do +κ do χ(κ do )wos do ] . do do do do Further simplification of the terms on the right hand side with γ delivers Eq. (16) in the do main text. Using the price charged to consumers by retailers from Eq. (12) we can write retailer revenue as proportional to variable production costs, Eq. (5): p (φ)q (φ) = (cid:0) t µw τ φ−1 (cid:1) q (φ) = t µv(q ,w ,τ ,φ). (A31) do do do o do do do do o do Then Eq. (A31) implies that after-tariff variable profits are, (cid:18) (cid:19) p (φ ) p (φ)q (φ) do do q (φ )−v(q ,w ,τ ,φ ) = do do . (A32) do do do o do do t σt do do Or alternatively, (cid:18) (cid:19) p (φ ) do do q (φ )−v(q ,w ,τ ,φ ) = (µ−1)v(q ,w ,τ ,φ). (A33) do do do o do do do o do t do Substitute Eqs. (12) and (2) into Eq. (A32) and then substitute the resulting expression into the left hand side of Eq. (16) to get that: α C Pσ−1(µw τ )1−σt−σφ¯σ−1 = w F (κ ). (A34) σ d d o do do do o do Solving this expression for φ¯ gives Eq. (18). do Finally, all matches must have positive surplus so we can check that S (φ¯ ) ≥ 0 by do do

11 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS using Eqs. (13) and (A30) to write, (cid:18) (cid:19)(cid:18) (cid:19) β +t (1−β) w l +w h S (φ¯ ) = do o do o do +w s . (A35) do do o do β κ χ(κ ) do do Eq. (A35) puts restrictions on the parameters because they must be such that S (φ¯ ) ≥ 0. For example, w h cannot be so negative as to make Eq. (A35) negative. do do o do A.2.4.2 Solving for the non-binding productivity threshold The threshold productivity that is indifferent between matching and not, φ , is do defined by ¯ X (cid:0) φ (cid:1) −U (cid:0) φ (cid:1) = 0. (A36) do do do do ¯ ¯ We can be sure that X (φ¯ )−U (φ¯ ) ≥ X (cid:0) φ (cid:1) −U (cid:0) φ (cid:1) as long as do do do do do do do do (w l +w h )/κ χ(κ )+w s ≥ 0. This result¯implies tha¯t as long as X (φ)−U (φ) o do o do do do o do do do is increasing in φ, then φ¯ ≥ φ . In Appendix A.2.4.3, we show the very general do do conditions under which X (φ ¯ )−U (φ) is increasing in φ. The binding productivity do do threshold defining the mass of producers that have retail partners is the greater of these two thresholds and hence φ¯ . In other words, the productivity necessary to induce a do producer to search for a retail partner is greater than the productivity necessary to consummate a match after meeting a retailer due to the costs that are incurred while searching. Similarly, the productivity necessary to form a match is greater than the productivity to maintain one already in place. Note that φ¯ > φ if do do (w l +w h )/κ χ(κ )+w s > 0, which is true if and only¯if the cost of forming a o do o do do do o do relationship is positive, w l +w h +κ χ(κ )w s > 0. o do o do do do o do A.2.4.3 The value of importing is strictly increasing in productivity Here we show that the value of importing, M (φ), is strictly increasing with the do producer’s productivity level, φ. This result leads to three implications. First, it allows us to replace the integral of the max over V and M (φ) in Eq. (10) with the integral of do do M (φ) from the threshold from Eq. (18). Second, in equilibrium, because M′ (φ) > 0, do do Eq. (13) implies that S′ (φ) > 0 and therefore that X′ (φ)−U′ (φ) > 0. Third, it allows do do do us to show that φ¯ ≥ φ , as we did in Appendix A.2.4.2. do do Starting with Eq. (9¯) and V = 0, substituting in negotiated prices from Eq. (14), and do using the relationship between retailer revenue and variable costs from Eq. (A31) we can write, σ−1γ p (φ)q (φ)−t γ w δ M (φ) = do do do do do o do (A37) do r+λ Remember that δ from Eq. (A14) and γ from Eq. (A15) are functions of tightness, κ , do do do but not productivity, φ. It is clear from the integral in the import relationship creation, Eq. (19), that κ is not a function of φ. Similarly, w is not a function of φ (Eq. 29). do o Given these facts, we can prove our result by differentiating both sides of Eq. (A37) with respect to φ and showing that M′ (φ) = (∂M (φ)/∂q (φ))·(∂q (φ)/∂φ) > 0. Using do do do do demand from Eq. (2), first write inverse demand p (q (φ)) then do do σ−1γ (cid:18) ∂p (φ) (cid:19) ∂q (φ) M′ (φ) = do p (q (φ))+ do q do . (A38) do r+λ do do ∂q (φ) do ∂φ do

12 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS The partial derivative in parentheses is marginal revenue, which we know in equilibrium will be equal to marginal cost times the tariff as shown in Eq. (A24). Using this fact and applying the chain rule to ∂q (φ)/∂φ leads to our final expression, do σ−1γ (cid:18) ∂v(q ,w ,τ ,φ) (cid:19) ∂q (φ)∂p (φ) M′ (φ) = do t do o do do do . (A39) do r+λ do ∂q (φ) ∂p (φ) ∂φ do do As long as γ > 0 (which holds for finite κ and β < 1), marginal cost is positive, do do demand is downward sloping, and higher productivity varieties cost less, then M′ (φ) > 0. do These general conditions are satisfied for the functional forms of our model. We can use the fact that M′ (φ) > 0 to demonstrate the way in which many other do important quantities depend on the producer’s productivity level, φ. The surplus sharing rule, Eq. (13), can be rewritten as βM (φ) = (1−β)t (X (φ)−U (φ)), (A40) do do do do We know that in equilibrium, because M′ (φ) > 0, it must be that X′ (φ)−U′ (φ) > 0. do do do Differentiating both sides of Eq. (7) gives rU′ (φ) = κ χ(κ )(X′ (φ)−U′ (φ)) > 0. do do do do do We can combine these facts to show X′ (φ) > U′ (φ) > 0. Using the definition of the do do joint surplus of a match, Eq. (11), we get S′ (φ) > 0. Likewise, the value of a relationship, do R (φ) = X (φ)+M (φ), has R′ (φ) > 0. do do do do A.3 Aggregation A.3.1 The elasticity of the fraction of unmatched producers Many aggregate results in our paper rely on the elasticity of Eq. (20) with respect to some variable, call it x. Using Eq. (20) and the functional form in Eq. (A12) gives (cid:18) (cid:19) (cid:18) (cid:19) ∂ u u ∂lnκ ln 1− do = do (1−η) do , (A41) ∂ln(x) 1−i 1−i ∂ln(x) do do by the chain rule and the fact that ∂lnκ χ(κ ) do do = 1−η. ∂lnκ do A.3.2 The ideal price index with our productivity distribution The ideal price index is provided in Eq. (A4) and is a function of the homogeneous good price and the differentiated goods price index price index in Eq. (A3), which indexes over an unordered set of varieties. We can move from an unordered set of varieties to an index over a distribution of productivities using the steps in Appendix A.11.1 of KM so that the differentiated goods price index is given by: (cid:34) (cid:35) 1 (cid:34) (cid:35) 1 (cid:88) O 1−σ (cid:88) O (cid:18) u (cid:19) (cid:90) ∞ 1−σ P = P1−σ = 1− dk Nx p (φ)1−σdG(φ) , (A42) d dk 1−i k dk dk φ¯ k=1 k=1 dk

13 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS in which G(·) is a Pareto cumulative density function from Section 2.1.3. Using the final consumer price from Eq. (12) gives (cid:34) (cid:35) 1 (cid:88) O (cid:18) u (cid:19) (cid:90) ∞(cid:18) t µw τ (cid:19)1−σ 1−σ P = 1− dk Nx dk k dk dG(φ) , (A43) d 1−i k φ dk φ¯ k=1 dk in which (cid:34) (cid:35) 1 (cid:18) u (cid:19) (cid:90) ∞(cid:18) t µw τ (cid:19)1−σ 1−σ P = 1− dk Nx dk k dk dG(φ) . (A44) dk 1−i k φ dk φ¯ dk The relevant moment is, (cid:90) ∞ θφ¯σ−θ−1 zσ−1dG(z) = dk , (A45) θ−σ +1 φ¯ dk which is bounded because we assume that θ > σ −1. The threshold from Eq. (18) raised to σ −1 is (cid:16)σ(cid:17) (cid:18) w τ (cid:19)σ−1(cid:18) w F (κ ) (cid:19) φ¯σ−1 = µσ−1 o do o do tµ(σ−1). (A46) do α P C do d d The threshold from Eq. (18) raised to −θ is (cid:16)σ(cid:17) −θ (cid:18) w τ (cid:19)−θ(cid:18) w F (κ ) (cid:19) σ − − θ 1 φ¯−θ = µ−θ σ−1 o do o do t−µθ. (A47) do α P C do d d The product of Eqs. (A46) and (A47) give the relevant moment, (cid:16)σ(cid:17)1− θ (cid:18) w F (cid:19)1− σ− θ 1 φ¯σ−1−θ = Pθ−(σ−1)µσ−1−θ σ−1 (w τ )σ−1−θ o do tσ−µθ. (A48) do d α o do C do d Because the threshold is a function of P , Eq. (A43) is itself a function of P too. Using Eq. d d (A48) in Eq. (A43) and simplifying gives, P = P 1− σ− θ 1 (A49) d d × (cid:34)(cid:18) θ−(σ θ −1) (cid:19)(cid:16) α σ(cid:17)1− σ− θ 1 µ−θC d σ− θ 1 −1(cid:88) O (cid:18) 1− 1− u d i k (cid:19) N k x(w k τ dk )−θ(w k F dk )1− σ− θ 1 t1 d − k µθ (cid:35)1− 1 σ . k=1 dk Solving for P and rearranging gives d (cid:18) θ (cid:19)− θ 1 (cid:16)σ(cid:17) 1 −1 P = σ−1 θ µ (A50) d θ−(σ −1) α 1− 1 × Cθ σ−1 d (cid:32) (cid:33)−1 × (cid:88) O (cid:18) 1− 1− u dk i (cid:19) N k x(w k τ dk )−θ(w k F dk )−[ σ− θ 1 −1] t− dk (µθ−1) θ . dk k=1

14 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS We define, (cid:18) θ (cid:19)− θ 1 (cid:16)σ(cid:17) 1 −1 λ ≡ σ−1 θ µ, (A51) 2 θ−(σ −1) α and the ‘‘multilateral resistance term’’ as, (cid:32) (cid:33)−1 ρ d ≡ (cid:88) O (cid:18) 1− 1− u dk i (cid:19) N k x(w k τ dk )−θ(w k F dk )−[ σ− θ 1 −1] t− dk (µθ−1) θ . (A52) dk k=1 These definitions deliver the final expression of the differentiated goods price index presented in Eq. (22). The price index in our model closely resembles the price index in Chaney (2008, Eq. 8). In that model, the price index is an equilibrium object in wages, GDP, iceberg and fixed entry costs, whereas in our model it is an equilibrium object in wages, the number of producers, market tightness (through u and F ), iceberg and fixed entry costs, and dk dk also tariffs. A.3.3 Deriving the gravity equation The total amount paid by the consumers in d for imports from o, C , is the sum of the do value of imports, the profits to retailers, and tariffs paid to the government: C = IM +Πr +G , do do do do in which C is defined in Eq. (A76), Πr is defined in Eq. (A78), and do do (cid:18) u (cid:19) (cid:90) ∞ G = 1− do Nx (t −1)n (φ)q (φ)dG(φ). (A53) do 1−i o do do do do φ¯ do Rearranging gives IM = C −Πr −G , do do do do and then using Eqs. (A76), (A78), and (A53) proves that the value of total imports is: (cid:18) u (cid:19) (cid:90) ∞ IM = 1− do Nx n (φ)q (φ)dG(φ), (A54) do 1−i o do do do φ¯ do which is the same definition as Proposition 1 in KM. With imports defined in (A54), government revenue from each do market can be written as G = (t −1)IM (A55) do do do and total government revenue in d is G = (cid:80)D G . d k=1 dk We need to integrate Eq. (A54) over product varieties to get the total value of imports going into the domestic market, before tariffs are applied. Using the negotiated price in Eq. (14), the value of each import variety is: (cid:18) (cid:19) p (φ)q (φ) do do n (φ)q (φ) = [1−γ ] +γ [v(q ,w ,τ ,φ)+w δ ], do do do do do o do o do t do

15 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS in which δ is defined in Eq. (A14) and is not a function of φ but is potentially a function do of κ . Using Eq. (A31) and simplifying, we can write the imported value of each variety do as (cid:18) (cid:19) σ −γ n (φ)q (φ) = do p (φ)q (φ)+γ w δ . (A56) do do do do do o do σt do Demand for a variety in the differentiated goods sector is given in Eq. (2). The optimal final price from Eq. (12) implies that (t µw τ )1−σφσ−1 do o do p (φ)q (φ) = αC . do do d P1−σ d Substituting this into Eq. (A56) shows that the integral defining imports in Eq. (A54) depends on the moment of the productivity distribution from Eq. (A45). Substituting this moment into Eq. (A54) and then simplifying gives (cid:18) u (cid:19) (cid:34)(cid:18) σ−γ (cid:19) (t µw τ )1−σ (cid:18) θφ¯σ−1 (cid:19) (cid:35) IM = 1− do Nx do αC do o do do +γ w δ φ¯−θ. (A57) do 1−i o σt d P1−σ θ−σ+1 do o do do do do d We can use φ¯σ−1 from Eq. (A46) to write do (t µw τ )1−σ (cid:18) θφ¯σ−1 (cid:19) (cid:18) θ (cid:19) αC do o do do = σt w F (κ ). d P1−σ θ−σ +1 do θ−σ +1 o do d Substituting this into the relevant import equation provides (cid:18) (cid:19) (cid:20) (cid:18) (cid:19) (cid:21) u θ w δ IM = 1− do Nx (σ −γ ) +γ o do w F (κ )φ¯−θ. do 1−i o do θ−σ +1 do w F (κ ) o do do do o do Raising the price index from Eq. (22) to θ and substituting that into the threshold Eq. (18) raised to −θ defined in Eq. (A47) provides (cid:18) θ−(σ −1) (cid:19) (cid:18) w τ (cid:19)−θ φ¯− do θ = θσ αC d ρ o θ do (w o F (κ do ))σ − − θ 1 t− do µθ. d Substitute this expression into φ¯−θ in the imports equation to get do (cid:18) (cid:19)(cid:20) (cid:18) (cid:19) (cid:21) u θ w δ do o do IM = 1− (σ −γ ) +γ do do do 1−i θ−σ +1 w F (κ ) do o do (cid:18) θ−(σ −1) (cid:19) (cid:18) w τ (cid:19)−θ × θσ αN o xC d ρ o θ do (w o F (κ do ))1− σ− θ 1 t− do µθ. d Part of this expression can be written as (cid:20) (cid:18) (cid:19) (cid:21)(cid:18) (cid:19) θ w δ θ−(σ −1) o do (σ −γ ) +γ = 1−b do do do θ−σ +1 w F (κ ) θσ o do in which we use Eqs. (4), (17), (A14), and (A15) to write b as a function of all do

16 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS parameters and endogenous values, (cid:18) (cid:19) γ (r,λ,β,ξ,η,κ ) w δ (ξ,η,f ,l ,s ,κ )(θ−(σ −1)) b = do do × θ− o do do do do do . (A58) do σθ w F (r,λ,β,ξ,η,f ,l ,h ,s ,κ ) o do do do do do Importantly, b is not a function of w because δ (w ,κ ) and F (w ,κ ) are do o do o do o do multiplicative in the wage so their ratio cancels out the wage. Eq. (A58) is the import markdown term that captures the aggregate difference between final and negotiated prices. It is the same as the expression in Appendix A.14.1 of KM. Substituting the markdown into the import expression completes the derivation of the gravity equation shown in Eq. (23) of the main text. A.3.4 Tariff elasticity A.3.4.1 Tariff elasticity with Pareto and selection To derive the tariff elasticity in our model use Eq. (23) to form the ratio (cid:18) (cid:19) u IM 1− 1− do i (1−b do )N o x(w o τ do )−θ(w o F do )−( σ− θ 1 −1) t− do µθ do = do , (A59) (cid:18) (cid:19) IM u dd 1− 1− dd i (1−b dd )N d x(w d τ dd )−θ(w d F dd )−( σ− θ 1 −1) t− dd µθ dd in which α, C , and ρ are both in the numerator and denominator and therefore cancel d d in the ratio. Denote the tariff elasticity for any importer d and any pair of exporters o ̸= d and o′ ̸= d as ∂ln(IM /IM ) do dd = ζoo′. ∂ln(t ) d do′ This elasticity describes how changing tariffs between destination country d and the origin country o changes relative imports by country d from country o. It also describes how changing tariffs between d and a third origin country o′ changes relative imports by country d from country o ̸= o′. Take logs and differentiate Eq. (A59) with respect to ln(t ) and use the result from do′

17 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Eq. (A41) plus definitions from Eqs. (18) and (A58) and that θ+ θ = µθ to get: σ−1  (cid:18) u (cid:19) ∂ln(κ ) (cid:18) u (cid:19) ∂ln(κ )  − + + −µ ∂ ∂ (cid:16) θ l l σ ∂ n n + − θ l ( ( 1 n ∂ N 1 − ( l − o n t x 1 d / 1 ( − o b N t (cid:17) ′ d d d ) o i o d o x ∂ d ′ ( ) o ) κ ln − do ( ( F ) ( 1 ) µ d − θ o − ∂ ( − η κ l ∂ n ) d 1 l o ( ∂ ) n t ) d ∂ l ( / n ∂ o 1 F ∂ l ′ n ( l ) − d n l t n d ( d d ( w o b ( ( o t ′ d κ t d o ) d d o / d o ′ − ( d w ) ′ κ ) ) d ) d ) d 1 )) − d i d dd (1−η) ∂ln(t d d o d ′ ) ifo′ =o, ζoo′ = (A60) d  (cid:18) + − + 1 ∂ ∂ (cid:16) − u l l σ ∂ n n − d θ l i o ( ( 1 n ∂ d N 1 o − ( l − o n (cid:19) t x d / 1 ( o b ( N t (cid:17) ′ d 1 d ) o d o x ∂ − ′ ( ) ) κ l η n − d ) o (F ) ( ∂ ∂ ) µ d l l θ o n − n ∂ ( − ( ( κ l t ∂ κ n d d 1 d l o o ( ) o n ′ t ) ) ) ∂ ( / ∂ 1 − F ∂ ln l ) − d n l (cid:18) n d ( ( w b ( 1 ( t d κ t d o d − u d o / d o ′ ( d d w ) ′ κ i d ) ) d d ) d d ) d (cid:19) )) (1−η) ∂ ∂ l l n n ( ( t κ d d o d ′ ) ) ifo′ ̸=o. do′ There are two interesting restrictions for Eq. (A60) that generate the same tariff elasticity. The first case is when search frictions exist but matching rates are exogenous (constant market tightness, κ ∀do). Because κ is constant, any derivative of κ is zero. do do do Exogenous matching rates can be accomplished by setting the matching elasticity, η = 1. The second case is when there are no search frictions. KM prove that there are no search frictions in the do market if and only if c → 0, which implies that κ → ∞ and do do 1−u /(1−i ) → 1. Under either of these restrictions that η = 1 or c = 0∀do, Eq. do do do (A60) becomes  ∂ln(Nx/Nx)  −µθ+ o d    ∂ln(t do′ )   ∂ln(w /w )  −(µθ−1) o d if o′ = o,     ∂ln(t do′ ) ζoo′ = (A61) d  ∂ln(Nx/Nx)   o d   ∂ln(t )   do′    −(µθ−1) ∂ln(w o /w d ) if o′ ̸= o.  ∂ln(t ) do′ Importantly, even without the effects of search frictions, the tariff elasticity is a function of the equilibrium wages and the numbers of varieties. To remove the effect that relative wages have on the tariff elasticity, assume either a homogeneous freely traded good as in Chaney (2008) or that country d has a labor endowment that is small relative to the origin country o, as in Gros (1987). In the latter case, the ratio L /L → 0 implying that w /w → 0 and ∂ln(w /w )/∂ln(t ) → 0 as d o o d o d do′ L → ∞ for fixed w , as proved in Appendix A.4.3.6. o d Adding the restriction that the relative number of varieties, N /N , is constant means o d

18 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS that Eq. (A61) simplifies to  −µθ if o′ = o,   ζoo′ = (A62) d  0 if o′ ̸= o. A.3.4.2 Tariff elasticity with Pareto productivity but without selection Importantly, homogeneous firms is a sufficient, but not necessary, way to ensure that there is no selection into exporting. A different sufficient condition for no selection is to ensure that the threshold from Eq. (18) is equal to or lower than the minimum of the Pareto productivity distribution given in Section 2.1.3, which is one. More formally, there is no selection when the effective entry cost in Eq. (17) satisfies (cid:16)α(cid:17) (cid:18) w τ (cid:19)1−σ µ1−σ C o do tµ(1−σ) ≥ w F (κ ) ⇒ 1 ≥ φ¯ . (A63) σ d P do o do do d Consider an economy that always satisfies Eq. (A63) and has f = l = s = 0 so do do do that δ = 0 from Eq. (A14) and then Eq. (17) becomes do (cid:18) (cid:19) r+λ F (κ ) = 1+ h . do do βκ χ(κ ) do do With these restrictions, the gravity equation from Eq. (A57) becomes (cid:18) u (cid:19) (cid:18) σ −γ (cid:19) (t µw τ )1−σ (cid:18) θ (cid:19) IM = 1− do Nx do αC do o do . (A64) do 1−i o σt d P1−σ θ−σ +1 do do d Because δ = 0, Eq. (A58) becomes do σ −γ do 1−b(κ ) = . do σ We use this and the other parameter restrictions to write the gravity equation with search frictions and without selection as (cid:18) u (cid:19) (µw τ )1−σt−σ (cid:18) θ (cid:19) IM = 1− do (1−b (κ ))αNxC o do do . (A65) do 1−i do do o d P1−σ θ−σ +1 do d Using this equation, we form the ratio of gravity equations without selection as (cid:18) (cid:19) u 1− do (1−b (κ ))Nx(w τ )1−σt−σ IM 1−i do do o o do do do = do , (A66) (cid:18) (cid:19) IM u dd 1− dd (1−b (κ ))Nx(w τ )1−σt−σ 1−i dd dd d d dd dd dd in which α, C , P , and a few parameters are both in the numerator and denominator and d d therefore cancel in the ratio. Taking logs and differentiating Eq. (A66) with respect to

19 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS ln(t ) gives do′  (cid:18) u (cid:19) ∂ln(κ ) (cid:18) u (cid:19) ∂ln(κ )  + + −σ ∂ ∂ + l l ∂ n n l ( ( n ∂ N 1 1 ( l − o n t x − d / ( o b d N t ′ i d o d ) d o d o x o ′ ( ) ) κ − d ( o 1 ) ( ) σ − − − η) 1 ∂ ∂ ) ln ∂ ln ( ∂ l ∂ 1 n ( l t l n − ( d n d w o ( o ( ′ b t o ) t d d / d d o − o w ′ ′ ( ) ) d κ ) d 1 d ) − ) d i d dd (1−η) ∂ln(t d d o d ′ ) ifo′ =o, ζoo′ = (A67) d + (cid:18) + 1 ∂ ∂ − u l l n n d i o ( ( ∂ d N 1 o l − o n (cid:19) x/ ( b ( N t d 1 d o d o x − ′ ( ) ) κ η − d ) o ) ( ∂ ∂ ) σ l l n − n − ( ( 1 t ∂ κ d ) d l o o n ′ ∂ ) ) ( l ∂ 1 n − l − ( n (cid:18) w ( b o 1 t d / d d − u o w ′ ( d ) d κ i d d ) d d d (cid:19) )) (1−η) ∂ ∂ l l n n ( ( t κ d d o d ′ ) ) ifo′ ̸=o. ∂ln(t ) ∂ln(t ) do′ do′ As in Eq. (A60), there are two interesting restrictions for Eq. (A67) that generate the same tariff elasticity. The first case is when search frictions exist but matching rates are exogenous (constant market tightness, κ ∀do). Because κ is constant, any derivative of do do κ is zero. Exogenous matching rates can be accomplished by setting the matching do elasticity, η = 1. The second case is when there are no search frictions. Krolikowski and McCallum (2021) prove that there are no search frictions in the do market if and only if c → 0, which implies that κ → ∞ and 1−u /(1−i ) → 1. do do do do Under either of these restrictions on η or c ∀do, Eq. (A67) becomes do  ∂ln(Nx/Nx) ∂ln(w /w ) −σ + o d −(σ −1) o d if o′ = o,     ∂ln(t do′ ) ∂ln(t do′ ) ζoo′ = (A68) d  ∂ln(Nx/Nx) ∂ln(w /w )   o d −(σ −1) o d if o′ ̸= o.  ∂ln(t ) ∂ln(t ) do′ do′ Importantly, even with exogenous matching rates or without search frictions, the tariff elasticity is a function of the equilibrium wages and the numbers of varieties. To remove the effect that relative wages have on the tariff elasticity take the same steps as Eq. (A61) and assume that country d has a labor endowment that is small relative to the origin country o, such that the ratio L /L → 0. Adding the restriction that the relative number d o of varieties, N /N , is constant means that Eq. (A67) simplifies to o d  −σ if o′ = o,   ζoo′ = (A69) d  0 if o′ ̸= o. A.3.5 Consumption is after-tariff imports evaluated at final sales prices The value of consumption of the differentiated good in the do market is defined as the integral over all varieties, φ, of the value of q (φ) units evaluated at final sales prices, do

20 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS p (φ): do (cid:18) u (cid:19) (cid:90) ∞ C = 1− do Nx p (φ)q (φ)dG(φ). (A70) do 1−i o do do do φ¯ do A shortcut to evaluating the integral in Eq. (A70) uses the fact that the value of imports in Eq. (A54) is a similar expression, but integrates n (φ)q (φ) rather than p (φ)q (φ). do do do do As such, to evaluate the right side of Eq. (A70), set γ = 0 and multiply by t so that the do do integrand of Eq. (A70) is p (φ)q (φ) = t n (φ)q (φ). These two steps imply that do do do do do consumption takes the same form as imports in Eq. (23), but with two changes. First, setting γ = 0 implies that b = 0 in Eq. (A58). Second, we should add one to the do do exponent on tariffs, t . This yields the desired result do (cid:18) u (cid:19) (cid:18) w τ (cid:19)−θ C do = 1− 1− do i αN o xC d ρ o do (w o F do )−( σ− θ 1 −1) t d 1− o µθ. (A71) do d Eq. (A71) is analogous to Eq. (26) in Krolikowski and McCallum (2021) but differs in that this new expression includes tariffs whereas the expression in Krolikowski and McCallum (2021) did not. Comparing Eqs. (23) and (A71) implies that t IM C = do do . (A72) do 1−b do We also show that C = P Q . (A73) do do do Plugging in Eq. (2) into Eq. (1b) and using the definition of the price index from Eq. (A3) yields P−σ Q = αC do . (A74) do d P1−σ d Also from Eq. (2), we obtain p (ω)1−σ p (ω)q (ω) = αC do . (A75) do do d P1−σ d Integrating both sides of this equation over the set ω ∈ Ω yields do P1−σ P−σ C = αC do = P αC do = P Q , (A76) do d P1−σ do d P1−σ do do d d in which we use Eq. (A74). A.3.6 Profits In this appendix, we present five ownership structures for the profits earned by retailers and producers. Importantly, we assume that these alternative ownership structures do not affect optimal behavior of firms but rather only the apportionment of profits. First, we discuss ownership of firms by location: Consumers in country d own retailers and producers in country d. Second, we discuss upstream (backward) vertical integration:

21 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Consumers in country d own retailers in country d and they own producers in the potentially many origin countries that produce for country d. Third, we discuss downstream (forward) vertical integration: Consumers in country d own producers in country d and they own the retailers that sell these goods in potentially many countries. Fourth, we discuss that consumers in country d own w L shares of a global mutual fund d d that owns all retailers and producers as in Chaney (2008). The mutual fund redistributes profits derived anywhere proportionally to each country in the form of π dividends per share. Fifth, we discuss an inverted ownership structure in which consumers in country d own the producers that source country d and the retailers that sell country d goods. We implement the third ownership structure in this paper to facilitate comparisons with CRW, who take the same approach, but it would be straightforward to implement the other structures. A.3.6.1 Profits attributed by location Assume that consumers in country d own retailers and producers in country d. This assumption implies that total profits in country d are profits from retailers in country d selling products from potentially many origin k markets and profits from producers in country d selling to potentially many other markets k markets, in which k = 1,...,D. Retailer profits in country d can then be calculated from the retailer profits from each variety, which are πr (φ) = p (φ)q (φ)−t n (φ)q (φ). (A77) do do do do do do Integrating Eq. (A77) over varieties gives retailer profits earned in country d from selling products sourced from origin country o, (cid:18) (cid:19) (cid:90) u Πr = C −t IM = 1− do Nx πr (φ)dG(φ). (A78) do do do do 1−i o do do φ¯ do Total profits from retailers in country d selling products from potentially many origin k markets is then (cid:88) (cid:88) (cid:88) Πr = Πr = C − t IM . (A79) d dk dk dk dk k k k Producer profits for each variety are, πp (φ) = n (φ)q (φ)−v(q ,w ,τ ,φ). (A80) do do do do o do Integrating Eq. (A80) over varieties gives producer profits earned in country d from selling products from origin country o, (cid:18) (cid:19) (cid:90) u Πp = IM −Φv = 1− do Nx πp (φ)dG(φ), (A81) do do do 1−i k do do φ¯ do in which Φv is the variable production costs paid by producers in o that are making do products for destination d defined in Eq. (A104d). Total profits from producers in country d selling to potentially many other markets k markets is then (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) C (cid:88) Πp = Πp = IM − Φv = IM − kd = IM −Φv. (A82) d kd kd kd kd µt kd d kd k k k k k k

22 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS in which we use the definition of Φv from Eq. (A105). Under this location-based do ownership structure, total flow variable profits earned in d are therefore the sum of Eqs. (A79) and (A82) (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) C Π = Πr +Πp = Πr + Πp = C − t IM + IM − kd . (A83) d d d dk kd dk dk dk kd µt kd k k k k k k Notice that Πr and Πp sum over different country indices so further simplification is not d d possible. A.3.6.2 Upstream vertical integration Assume that consumers in country d own retailers in country d and also own all the producers in the potentially many origin k markets that serve market d. This assumption implies that total profits in country d are profits from retailers in country d selling products from potentially many origin k markets and profits that producers in k countries earn from selling to country d but not other countries, in which k = 1,...,D. This upstream vertically-integrated ownership structure and the location-based ownership structure in Appendix A.3.6.1 imply the same retailer profits defined in Eq. (A79). Producer profits, however, differ in a very simple way between these two approaches. Location-based profits sum across destinations with fixed origin country at d so that Πp = (cid:80)D Πp using Eq. (A81). In contrast, upstream vertically-integrated profits sum d k=1 kd across origin countries with fixed destination country at d so that Πp = (cid:80)D Πp and also d k=1 dk use Eq. (A81). Because the summing index, dk, for retailers’ and producers’ profits is the same under vertically-integrated ownership, total profits are (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) C Π = Πr +Πp = Πr + Πp = C − t IM + IM − dk . (A84) d d d dk dk dk dk dk dk µt dk k k k k k k which simplifies to (cid:18) (cid:19) (cid:18) (cid:19) (cid:88) 1 (cid:88) (cid:88) 1 Π = 1− C + (1−t )IM = 1− C −G , (A85) d dk dk dk dk d µt µt dk dk k k k in which G is defined in Eq. (28). d One could alternatively derive Eq. (A85) by adding Eqs. (A77) and (A80) to get the profits of vertically integrated retailers and producers of each variety, πv (φ) = p (φ)q (φ)−t n (φ)q (φ)+n (φ)q (φ)−v(q ,w ,τ ,φ), (A86) do do do do do do do do do o do and then integrating over varieties and summing over countries. A.3.6.3 Downstream vertical integration Assume that consumers in country d own producers in country d and that they own the retailers that sell these goods in potentially many countries. This assumption implies that total profits in country d are profits from retailers in country k selling products sourced from country d and profits that producers in country d earn from selling to retailers in country k, in which k = 1,...,D.

23 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS This downstream vertically-integrated ownership structure and the location-based ownership structure in Appendix A.3.6.1 imply the same producer profits defined in Eq. (A79). Retailer profits, however, differ in a very simple way between these two approaches. Location-based profits sum across origins with a fixed destination country at d so that Πr = (cid:80)D Πr using Eq. (A78). In contrast, downstream vertically-integrated profits sum d k=1 dk across destination countries with a fixed origin country at d so that Πr = (cid:80)D Πr and d k=1 kd also use Eq. (A78). Because the summing index, kd, for retailers’ and producers’ profits is the same under downstream vertically-integrated ownership, total profits are (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) C Π = Πr +Πp = Πr + Πp = C − t IM + IM − kd . (A87) d d d kd kd kd kd kd kd µt kd k k k k k k which simplifies to (cid:18) (cid:19) (cid:88) 1 (cid:88) Π = 1− C + (1−t )IM . (A88) d kd kd kd µt kd k k A.3.6.4 Inverted ownership structure Assume that consumers in country d own producers in country k that source country d and that they own retailers in country k selling products sourced from country d, in which k = 1,...,D. As before, we can use Eq. (A78) and sum over kd and Eq. (A81) and sum over dk to obtain (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) C Π = Πr +Πp = Πr + Πp = C − t IM + IM − dk . (A89) d d d kd dk kd kd kd dk µt dk k k k k k k A.3.6.5 The global mutual fund Assume that all retailers and producers are owned by a global mutual fund that collects all variable profits and rebates them to consumers. Global profits can be expressed in many ways. One way is to sum Eq. (A85) across all countries d to, (cid:88)(cid:88) (cid:88)(cid:88) C (cid:88) (cid:88)(cid:88) C Π = C − do − G = αC − do −G (A90) do d µt µt do do d o d o d d o in which C = (cid:80) C is global consumption and G = (cid:80) G is global government d d d d expenditure. It is useful to apportion Π to each country as a constant share of labor income so that Π Π = w L = w L π, (A91) d d d(cid:80) d d w L d d d in which Π π = . (A92) (cid:80) w L d d d Notice that the dividend per unit value of labor, π, is proportional to the value of the global labor endowment and constant across countries. This definition matches Chaney (2008) Eq. (6) adjusted to include tariffs.

24 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS A.3.6.6 Profits with balanced trade We show that the various ownership structures described in Appendixes A.3.6.1 to A.3.6.4 are identical in our model if search frictions are removed and trade is balanced. First, notice that retailer profits in a model without search frictions are zero. In particular, without search, C = t IM so that Eq. (A78) implies Πr = 0 ∀d,o. do do do do Second, we show that if search frictions are removed then (cid:80) Πp = (cid:80) Πp if and k dk k kd only if trade is balanced. Notice that Eq. (A105) implies that (cid:18) (cid:19) (cid:88) (cid:88) C 1 (cid:88) Πp = IM − dk = 1− IM . (A93) dk dk µt µ dk dk k k k Similarly, (cid:18) (cid:19) (cid:88) 1 (cid:88) Πp = 1− IM . (A94) kd µ kd k k Inspection of Eqs. (A93) and (A94) suggests that (cid:88) (cid:88) (cid:88) (cid:88) Πp = Πp ⇐⇒ IM = IM , (A95) dk kd dk kd k k k k in which the latter is balanced trade, i.e. NX = 0. d Finally, we show that the various ownership structures in Appendixes A.3.6.1 to A.3.6.4 are equivalent in our model if search frictions are removed and trade is balanced. Because retailer profits in the model without search frictions are zero, Eq. (A83) in Appendix A.3.6.1 implies that total profits in country d are given by (cid:88) Π = Πp . (A96) d dk k Similarly, profits in Appendix A.3.6.2, A.3.6.3, and A.3.6.4, are given by Eqs. (A84), (A87), and (A89), and are (cid:80) Πp , (cid:80) Πp , and (cid:80) Πp , respectively. Eq. (A95) implies k dk k kd k dk that all four of these profit expressions are identical if we impose trade balance because summing producer profits over the kd indexes is the same as summing over dk. A.3.7 Expenditure approach to accounting In the National Income and Product Accounts (NIPA), gross domestic product (GDP) can be measured in three ways: 1) as the sum of goods and services sold to final users (expenditure approach), 2) as the sum of income payments and other costs incurred in the production of goods and services (income approach), 3) and as the sum of the value added at each stage of production. This appendix, together with Appendices A.3.8 and A.3.9, will explain how we use equating the income and expenditure approaches to define the resource constraint for consumers and solve for the equilibrium in our model. The expenditure approach sums personal consumption expenditures, C , gross private d fixed investment, I , government consumption expenditures, G , net exports of goods and d d services, NX , change in private inventories, and government gross investment. Our d model only has the first four of these components. Moreover, in our model, personal consumption expenditure includes government consumption expenditure because final

25 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS sales prices include the import tariff (Eq. 12). As such, GDP = C +I +NX . (A97) d d d d Each additive term of the expenditure approach is discussed in detail in the following sections. Because the government runs a balanced budget, government expenditure is exactly equal to government revenue from Appendix A.3.8.2. A.3.7.1 Personal consumption Consumption expenditure, C , is the total resources devoted to consumption evaluated d at final consumer prices, defined in Eq. (26), and can be written as (cid:88) C = p (1)q (1)+ C , (A98) d d d dk k in which consumption of the homogeneous good is p (1)q and consumption of the d d differentiated varieties consumed in d but produced in o is given by Eq. (A70). A.3.7.2 Investment Investment expenditure, I , is the value of resources devoted to creating producers, Ie, d d to creating retailer-producer relationships, Ir, and to paying for the per-period fixed costs d of production, If, given by d I = Ie +Ir +If, (A99) d d d d in which Ie = Nxw ex, (A100a) d d d d (cid:88) (cid:88) Ir = κ u Nxw c + u Nx(w l +w s κ χ(κ )), and (A100b) d dk dk k d dk kd d d kd d kd kd kd k k (cid:88) If = (1−u −i )Nxw f . (A100c) d kd kd d d kd k We define investment costs as those that must be paid before producing the first unit of output and that do not scale with output. A.3.7.3 Net exports Define net exports as (cid:88) (cid:88) NX = EX −IM = IM − IM , (A101) d d d kd dk k k in which imports by destination d from origin o are given by Eq. (A54). A.3.8 Income approach to accounting The income approach sums compensation of employees, w L , income from taxes or d d subsidies on production and imports, T , net operating surplus, Πnos, and consumption of d d fixed capital (depreciation). Our model only has the first three of these components so that GDI = w L +T +Πnos. (A102) d d d d d

26 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Government tax income equals government expenditure in our model (Eq. A107) because we assume the government runs a balanced budget. A.3.8.1 Wage income Wage income, w L , is derived from creating producers, Φe, the formation of d d d relationships, Φr, fixed, Φf, and variable, Φv, costs of heterogeneous goods production, d d d and the variables costs of homogeneous goods production, w q (1) given by d d w L = Φe +Φr +Φf +Φv +w q (1), (A103) d d d d d d d d in which Φe = Nxw ex, (A104a) d d d d (cid:88) (cid:88) Φr = κ u Nxw c + u Nx(w l +w s κ χ(κ )), (A104b) d dk dk k d dk kd d d kd d kd kd kd k k (cid:88) Φf = (1−u −i )Nxw f , and (A104c) d kd kd d d kd k (cid:18) (cid:19) (cid:90) (cid:88) (cid:88) u Φv = Φv = 1− kd Nx v(q ,w ,τ ,φ)dG(φ). (A104d) d kd 1−i d kd d kd kd φ¯ k k kd With free entry of retailers as we assume, there can be no retailer entry cost in addition to search cost w c as shown in KM. As such, the cost of creating retailers is the same as the o od cost of forming relationships, (cid:80) κ u Nxw c . k dk dk k d dk Using variable costs from Eq. (5), optimal final sales price from Eq. (12) written as p (φ)/t µ = w τ φ−1, and demand from Eq. (2) we can write do do o do (cid:18) (cid:19) (cid:90) C u Φv = do = 1− do Nx v(q ,w ,τ ,φ)dG(φ). (A105) do µt 1−i o do o do do do φ¯ do Dividing Eq. (A105) by w and summing across k destination markets gives d Φv (cid:88) Φv (cid:88) C (cid:88) (cid:18) u (cid:19) (cid:90) d = kd = kd = 1− kd Nx q (φ)τ φ−1dG(φ) w w µw t 1−i d kd kd d d d kd kd φ¯ k k k kd which is one of the three additive terms in labor demand from Eq. (29). Comparing investment, I , from Eq. (26) to Eq. (A104), we see that, d I = Φe +Φr +Φf providing another additive term from labor demand. The final term is d d d d just the labor used to produce the homogeneous good. As such, Eq. (A103) is just a restatement of equilibrium labor market clearing from Eq. (29). A.3.8.2 Government income We assume that retailers in the do market pay a tariff, t −1, on the value of imported do differentiated goods, n (φ)q (φ). Integrating over all the products and summing over do do all the origin countries yields total government tax income (cid:88) D (cid:88) D (cid:18) u (cid:19) (cid:90) ∞ T = T = 1− dk Nx (t −1)n (φ)q (φ)dG(φ). (A106) d dk 1−i k dk dk dk dk φ¯ k=1 k=1 dk

27 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS In Eq. (26) we set T = G . (A107) d d Notice that when t = 1∀k then T = 0 because there are no import tariffs or subsidies. dk d We define the value of total imports, IM , in Appendix A.3.3 (Eq. A54). It is trivial to do show that government tax revenue in the do market is given by T = (t −1)IM , (A108) do do do which restates Eq. (A55) with G = T . Similarly, because C = t IM /(1−b ), as do do do do do do shown in Appendix A.3.5, (1−b )(t −1) T = do do C , (A109) do do t do with b defined in Eq. (A58). do A.3.8.3 Profit income We present details about profit income in Appendix A.3.6. A.3.9 Income equals expenditure In order to solve the model, we equate national output using the income and expenditure approaches: w L +T +Πnos = C +I +NX . (A110) d d d d d d d First, government cancels from each side because of Eq. (A107). Using Eqs. (A103) and (A99) we can write Φe +Φr +Φf +Φv +w q (1)+G +Πnos = C +Ie +Ir +If +NX . (A111) d d d d d d d d d d d d d By inspection, Φe = Ie, Φr = Ir, and Φr = If, leaving d d d d f d Φv +w q (1)+G +Πnos = C +NX . (A112) d d d d d d d Using the fact that total consumption is the sum of homogeneous and differentiated goods consumption from Eq. (A98) and the fact that p (1) = w ,∀d from Section 2.1.3, d d (cid:88) Φv +G +Πnos = C +NX . (A113) d d d dk d k Using the definition for NX from Eq. (A101), moving Φv to the right-hand side, and d d adding and subtracting (cid:80) t IM gives k dk dk (cid:88) (cid:88) (cid:88) (cid:88) (cid:88) G +Πnos = C + IM − IM −Φv + t IM − t IM , (A114) d d dk kd dk d dk dk dk dk k k k k k which simplifies to (cid:88) (cid:88) (cid:88) (cid:88) G +Πnos = C − t IM + IM −Φv + (t −1)IM . (A115) d d dk dk dk kd d dk dk k k k k

28 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Using the definitions of location-based retailer and producer profits from Eqs. (A79) and (A82) and the definition of government revenue from Eq. (28) we can write (cid:88) (cid:88) G +Πnos = Πr + Πp +G . (A116) d d dk kd d k k This means that GDP = GDI using the location based definition of profits from Appendix A.3.6.1 and when profits include government tariff revenue (because profits are omitted from retailer profits). This makes sense because GDP and GDI are constrained to measure the value of income and expenditure within the geographical borders of a country, which is consistent with the location-based profit accounting but not the vertically-integrated ownership structure of Appendix A.3.6.2. A.3.10 Labor market clearing country by country Wages are determined endogenously in each country by setting labor demand equal to labor supply. Labor demand is given by Eq. (29). The cost to create firms, pay fixed costs, and form matches are included in the investment term, I . Demand for q (1) is given by d d Eq. (2), in which p (1) = w . Labor demand also includes all labor used to produce the d d differentiated goods for the domestic and all foreign markets. Rearranging Eq. (A31) gives p (φ)q (φ) od od = q (φ)τ φ−1, (A117) od od µw t d od which implies that the labor used to produce the differentiated good can be written as, (cid:18) (cid:19) (cid:90) u C 1− od Nx q (φ)τ φ−1dG(φ) = od . (A118) 1−i d od od µw t od φ¯ d od od Using these facts, Eq. (29) can be written as I (1−α)C 1 (cid:88) C d d od LD = + + . d w w µ w t d d d od o Because labor is immobile and the homogeneous good is not traded, the equilibrium wage in country d is determined by equating labor demand, LD , with labor supply, L , and d d then re-arranging slightly: 1 C (cid:80) od I +(1−α)C + d d µ o t w = od . (A119) d L d We choose country o’s wage to be the numeraire so that w = 1. o A.4 Steady-state general equilibrium A.4.1 Defining the equilibrium We discuss how we derive the four equilibrium constraints in Eq. (30). First, we derive Eq. (30b) by using the free-entry condition (Eq. 19) and substituting in for retailers’ value on the right hand side with Eq. (A22), in which V = 0, and then using do

29 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS the definition of retailer profit in Eq. (A78). Sometimes it is useful to rewrite Eq. (19) as (cid:18) (cid:19) (cid:18) (cid:19) 1 1 κ = (λ+κ χ(κ )) Πr , (A120) do r+λ do do w c Nx do d do o in which we used χ(κ ) = ξκ−η and [1−u /(1−i )]−1 = (λ+κ χ(κ )/κ χ(κ )). do do do do do do do do Second, Eq. (30c) is simply Eq. (18). Third, Eq. (30d) combines the expenditure approach to national accounting (Eq. 26) with the income approach to national accounting (Eq. 27). Fourth, Eq. (30e) is simply Eq. (A119). A.4.2 Nesting trade models without search frictions Our model nests trade models without search frictions if retailers’ search costs are zero, c = 0, ∀do, among other restrictions. The main difference between our model’s do equilibrium definition and the definitions in trade models without search is that we introduce market tightness, k . When search costs are zero, free entry into product do vacancies leads to infinite market tightness and instantaneous matching for producers. Instantaneous matching implies that all producers are matched (Eq. 20), as in a standard trade model without search frictions. In particular, our model exactly reproduces Chaney (2008) if retailers’ search costs are zero, we make the same assumptions about the homogeneous good as he does, we assume the same profit redistribution (Appendix A.3.6.5), we assume that the number of producers is proportional to consumption (Nx = C /(1+π)) and that there are no tariffs o o (G = 0∀d), and we make the same parameter value restrictions that he does d (t = s = h = ex = 0, ∀d, and, ∀o). We demonstrate this equivalence by showing that do do do d all equilibrium equations are the same. If retailers’ search costs are zero, market tightness is infinite and the negotiated price (Eq. 14) attains the final sales price if t = 1, ∀do, do which is given by Eq. (12). There is, in effect, no intermediate retailer; producers sell their goods directly to the final consumer at price p . Instant contacts for producers do imply that the effective entry cost (Eq. 17) equals the fixed cost of production, F = w f , and our threshold productivity expression (Eq. 18) coincides with Chaney do o do (2008, Eq. 7). With no search costs and G = 0, Eq. (26) implies that Y = C +I and the d d d d only investment expenditure is the fixed cost of production. Using Eq. (27), total income is given by Y = (1+π)w L , which also matches Chaney (2008, Eq. 9). Assumptions d d d about the homogeneous good as in Chaney (2008) would imply that w = 1 ∀d and the d per-capita dividend is determined by Eq. (A92), as shown in KM. With the same equations defining the equilibrium variables, our ideal price index (Eq. 22) and gravity equation (Eq. 23) would coincide with Eqs. 8 and 10, respectively, in Chaney (2008). A.4.3 A graphical depiction of the model: Proposition 1 We detail the shape of each line in Fig. 1, described in Section 2.4.2. For each sub-figure, the equilibrium values of other endogenous variables are taken as given. This material borrows heavily from KM, Appendix A.13.

30 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS A.4.3.1 Final sales price and negotiated quantity First, we characterize the marginal cost curve in Fig. 1a. Differentiate the variable cost equation to get marginal cost: ∂v(q ,w ,τ ,φ) do o do = w τ φ−1, (A121) o do ∂q do which is independent of q so is a horizontal line in (q (φ),p (φ)) space. do do do Second, we characterize the demand curve and the marginal revenue curves in Fig. 1a. Begin with the demand curve for a differentiated variety (Eq. 2) and solve for inverse demand, p (φ) = q (φ)−1/σ(cid:0) αC /P1−σ (cid:1)1/σ, which is downward sloping because do do d d ∂p (φ) 1 (cid:18) αC (cid:19)1/σ ∂q do (φ) = − σ q do (φ)− σ 1−1 P1− d σ < 0. do d The second derivative is positive, which means the curve is convex and bowed into the origin. Marginal revenue is given by (cid:18) (cid:19)(cid:18) (cid:19)1 p do (q do )+ ∂p d ∂ o q (q do ) q do = σ − σ 1 P α 1 C − d σ σ q do (φ)− σ 1 , (A122) do d which is also downward sloping. Furthermore, the marginal revenue curve always lies under the demand curve because (σ −1)/σ < 1. Bargaining over quantity implies that the equilibrium quantity exchanged within matches equates retailers’ marginal revenue from consumers (Eq. A122) with the marginal production cost (Eq. A121) times tariffs, as shown in Appendix A.2.2, Eq. (A24). The resulting equilibrium price is Eq. (12) in the main text. Notice that we are guaranteed existence and uniqueness of p∗ (φ) and q∗ (φ) in this do do market. This result follows because the marginal revenue curve is downward sloping with values ranging from ∞ to zero and the marginal cost curve is horizontal at some positive value. Furthermore, for any variety above the threshold productivity, φ¯ , this figure, do along with parameter restrictions such as σ > 1, τ ≥ 1, and t ≥ 0, and the equilibrium do do values for other endogenous variables, like w , ensures that p∗ (φ) > 0 and q∗ (φ) > 0. o do do A.4.3.2 Negotiated price for one good Third, we characterize the negotiated price curve in Fig. 1b. Begin with the negotiated price (Eq. 14) and re-arrange to obtain:  p q  v(q ,w ,τ ,φ)+w f −w l − do do n = p do +(r+λ)(1−β) (cid:104) r+λ+βξκ1−η (cid:105)−1  do o do o do o do t do , (A123) do t do  q  do do in which we have assumed that s = 0 and that the retailer contact rate comes from the do matching function (Eq. 4). Fig. 1b uses our baseline calibration and does not require that s = 0, but these proofs do. We differentiate this expression with respect to κ do do

31 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS  p q  v(q ,w ,τ ,φ)+w f −w l − do do ∂n do =− (r+λ)(1−β) βξ(1−η)κ−η do o do o do o do t do , ∂κ (cid:16) (cid:17)2 do  q  do r+λ+βξκ1−η do do which is positive. This derivative shows that the negotiated price slopes up in (κ ,n (φ)) space. As κ → 0 this derivative tends to ∞ and as κ → ∞ this derivative do do do do tends to 0. The second derivative is negative so the negotiated price curve is concave. The intercept of Eq. (A123) if κ = 0 is do (cid:20) (cid:21) p v(q ,w ,τ ,φ)+w f −w l do do o do o do o do n (φ) = β +(1−β) . do t q do do The value of Eq. (14) as κ → ∞ is do p do n = , do t do which recovers the final sales price in the Melitz (2003) model, but with tariffs. Fourth, we characterize the vertical market tightness line in Fig. 1b. Inspecting the free entry condition for retailers (Eq. 19) suggests that the negotiated price of a single infinitesimal producer does not affect goods-market tightness. As such, the market tightness is a vertical line in (κ ,n (φ)) space. The market tightness is taken from Fig. do do 1d. Notice that we are guaranteed existence and uniqueness of n∗ (φ) in this market. do Consider inverting Eq. (A123) so that κ = κ (n ). We know that this function will also do do do have positive derivative for all n . We also know that if do n (φ) = β(p /t )+(1−β)(v(q ,w ,τ ,φ)+w f −w l )/q , then κ = 0, and if do do do do o do o do o do do do n → p then κ → ∞. As such, this function crosses κ∗ ≥ 0 once. do do do do A.4.3.3 Producer threshold Fifth, we characterize the threshold productivity curve in Fig. 1c. Differentiate the producer threshold expression (Eq. 18) with respect to consumption to obtain ∂φ¯ σ (cid:16)σ(cid:17) 1 (cid:18) w τ (cid:19) ∂C do = − (σ −1)2 α σ−1 P o do (w o F (κ do ))σ− 1 1 tµ do C d −µ, d d which is negative so this line is sloped down. The second derivative is positive so this line is convex and bowed in toward the origin. Sixth, equilibrium aggregate consumption is determined in Fig. 1e so we take it as given for this figure and depict it with a vertical line. Notice that we are guaranteed existence and uniqueness of φ¯∗ in this market. do Consider inverting Eq. (18) so that C = C (φ¯ ). We know that this function will also d d do have negative derivative for all φ¯ . We also know that if φ¯ → 0, then C → ∞, and if do do d φ¯ → ∞, then C → 0. As such, this function crosses C∗ ≥ 0 once. do d d

32 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS A.4.3.4 Retailers’ expected negotiated cost and market tightness Seventh, we characterize mean imports in Fig. 1d. Begin with the negotiated price (Eq. 14), multiply by equilibrium quantity q , and take an expectation to obtain: do (cid:90) p q (r+λ)(1−β) (cid:20) p q (cid:21) E[n do q do ] = φ¯do d t o do do + r+λ+βξκ1 d − o η v(q do ,wo,τ do ,φ)+wof do −wol do − d t o do do dG(φ), (A124) in which we have assumed that s = 0 and that the retailer contact rate comes from the do matching function (Eq. 4) and the expectation is taken over productivity. Fig. 1d uses our baseline calibration and does not require that s = 0 but these proofs do. We do differentiate this expression with respect to κ , do ∂E[n q ] (cid:90) (r+λ)(1−β) (cid:20) p q (cid:21) ∂κ d d o o do = φ¯do − (cid:16) r+λ+βξκ1−η (cid:17)2 βξ(1−η)κ− do η v(q do ,wo,τ do ,φ)+wof do −wol do − d t o do do dG(φ), do which is positive. As κ → 0 this derivative tends to ∞ and as κ → ∞ this derivative do do tends to 0. The second derivative is negative so the mean imports curve is concave. The intercept of Eq. (A124) when κ = 0 is do (cid:90) p q E[n q ] = β do do +(1−β)[v(q ,w ,τ ,φ)+w f −w l ]dG(φ).(A125) do do do o do o do o do t φ¯ do do As κ → ∞ this equation converges to do (cid:90) p q E[n q ] = do do dG(φ), do do t φ¯ do do which recovers the Melitz (2003) model, but with tariffs. Computing the relevant integrals implies that Eq. (A124) can be written as   E[n do q do ] = t (cid:18) 1− C d u o do (cid:19) Nx + r (r + + λ λ + )( β 1 ξ − κ1 d β − o ) η    w o f do −w o l do − t σ (cid:18) 1− C do u do (cid:19) Nx    do 1−i o do 1−i o do do in which all terms but κ are taken as given for the graph in (κ ,E [n q ]) space. do do φ do do Eighth, we characterize the retailers’ free entry curve in Fig. 1d. Begin with the entry condition (Eq. 19), plug in for M (φ) from Appendix A.4.1, the retailer contact rate from do the matching function (Eq. 4), and solve for the expected negotiated cost to get: 1 (cid:90) 1 κη w c E[n q ] = p (φ)q (φ)dG(φ)− (r+λ) do d do, (A126) do do t do do t ξ do φ¯do do in which all terms but κ are the equilibrium values for the graph in (κ ,E [n q ]) do do φ do do space. Eq. (A126) is negatively sloped with the derivative tending to −∞ as κ → 0 and the do derivative tending to 0 as κ → ∞. The second derivative is positive so that the line is do

33 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS convex and bowed in toward the origin. The intercept of Eq. (A126) when κ = 0 is do (cid:90) p (φ)q (φ) E[n q ] = do do dG(φ), (A127) do do t φ¯ do do which is taken as given in this figure. The intercept when E[n q ] = 0 is do do 1 (cid:34) (cid:82) (cid:35) ξ p (φ)q (φ)dG(φ) η φ¯ do do κ = do . do w c (r+λ) d do Notice that we are guaranteed existence and uniqueness of E[n q ]∗ and κ∗ . This is do do do because the intercept when κ = 0 of the entry condition is given by Eq. (A125) and the do intercept of the expected cost curve is given by Eq. (A127). We know that the former is larger than the latter and we know that the entry condition slopes down and the expected cost curve slopes up. A.4.3.5 Goods market clearing Ninth, we characterize the consumption curve in Fig. 1e. Using the expenditure and income approaches to national accounting (Appendices A.3.7 and A.3.8) and the expression for aggregate investment (Eq. 26) we obtain 1 C (cid:80) kd (cid:80) − C µ k t k dk C w = kd + d , (A128) d ˜ ˜ L −I L −I d d d d in which I ˜ = I /w is not a function of w because investment can be written as w times d d d d d the labor used for investment. As such, the consumption curve is linear in (C ,w ) space. d d The slope of this curve is positive because labor market clearing (Eq. A119) implies that L ≥ I ˜. Notice that (cid:80) C = C if α = 1, but that term comes from profits, Π , and is d d k dk d d determined elsewhere, so should not be susbtituted into this equation. Tenth, the equilibrium wage is determined in Fig. 1f so we take it as given for this figure and depict it with a horizontal line. Notice that we are guaranteed existence and uniqueness of C∗. Eq. (A129) implies d that the intercept of Eq. (A128) is below the equilibrium wage. As such, the consumption and wage curves are guaranteed to cross because the consumption curve has positive slope and the wage curve is horizontal. A.4.3.6 Labor market clearing Eleventh, we characterize the labor demand curve in Fig. 1f. Solving Eq. (29) for the wage yields 1 C (cid:80) od (1−α)C + d µ o t w = od , (A129) d ˜ LD −I d d

34 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS in which I = w I ˜ so that I ˜ is investment in units of labor d d d d D (cid:88) I ˜ = Nxex+ κ u Nxc +u Nx(l +s κ χ(κ ))+(1−u −i )Nxf . (A130) d d d dk dk k dk kd d kd kd kd kd kd kd d kd k=1 The derivative of Eq. (A129) with respect to labor demand is 1 C (cid:80) od (1−α)C + ∂w d µ o t d = − od < 0. (A131) ∂LD (cid:16) (cid:17)2 d LD −I ˜ d d The second derivative of Eq. (A129) is positive, ∂2w /∂LD2 > 0. Because the wage must d d always be weakly positive in any equilibrium, w ≥ 0, and because of the signs of the first d and second derivatives, L → ∞ implies w → 0. Finally, labor supply is fixed at each d d country’s labor endowment, and depicted as a vertical line in Fig. 1f. Notice that we are guaranteed existence and uniqueness of w∗. Consider inverting Eq. d (A129) so that LD = LD (w ). We know that this function will also have negative d d d derivative for all w . We also know that if w → 0, then LD → ∞, and if w → ∞, then d d d d C → I ˜. Eq. (A119) implies that L ≥ I ˜. As such, this function crosses L∗ once. d d d d d We also prove that as labor supply in a country tends to infinity, the elasticity of the wage with respect to tariffs tends to zero. This result will be useful when we discuss a small open economy, as in Appendix A.3.4. Eq. (A129) defines a function from R2 to R, w (L ,t ). According to the mean value theorem, there exits a point d ∈ [t ,t′ ] on the d d do do do line segment from (L ,t ) to (L ,t′ ) such that d do d do ∂w (L ,d) w (L ,t′ )−w (L ,t ) = d d (t′ −t ). d d do d d do ∂t do do do Taking the limit of both sides gives ∂w (L ,d) lim w (L ,t′ )− lim w (L ,t ) = lim d d (t′ −t ). L d →∞ d d do L d →∞ d d do L d →∞ ∂t do do do The left side of this equation tends to zero and therefore ∂w (L ,d) lim d d = 0. (A132) L d →∞ ∂t do

35 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS B Optimal unilateral uniform import tariffs B.1 Deriving aggregate welfare B.1.1 Deriving current value aggregate welfare Here we outline the steps to show that the indirect utility function (welfare) is C /Ξ , d d in which C is total consumption expenditure, p is the vector of prices for each good, and d Ξ is the ideal price index. Assume that preferences are homothetic, which is defined in d Mas-Colell, Whinston, and Green (1995), Section 3.B.6, page 45. This means that they can be represented by a utility function that is homogeneous of degree one in quantities and that the corresponding indirect utility function is linear in total consumption expenditure. We can begin with the indirect utility function and then manipulate it as follows W (p,C ) = W (p,1)C d d d d W (p,e(p,u)) = W (p,1)e(p,u) d d u = W (p,1)e(p,u) d 1 = W (p,1)e(p,1) d 1 = W (p,1), d e(p,1) in which the first line comes from homothetic preferences; the second line follows by plugging in for consumption expenditure C = e(p,u); the third line comes from Eq. d (3.E.1) in MWG that says W (p,e(p,u)) = u (also known as duality); and in the fourth d line we plug in for utility level u = 1. The function e(p,u) is the consumption expenditure function that solves the expenditure minimization problem. Using this result and the fact that the price index is defined as e(p,1) ≡ Ξ we can show that d 1 C W (p,C ) = W (p,1)C = C = d . (B133) d d d d d e(p,1) Ξ d Hence, as long as preferences are homothetic, we will always get welfare equal to consumption expenditure divided by the price index, W (p,Y) = C /Ξ . d d d We can prove this result directly in our setting. Plugging the optimal quantities in Eq. (2) into the utility function in Eq. (1) yields: U(q (1),q (φ))= (cid:18) (1−α)C d (cid:19)1−α(cid:18) αC d (cid:19)α (cid:34) (cid:88) O (cid:18) 1− u dk (cid:19) Nx (cid:90) p (φ)1−σdG(φ) (cid:35)α( σ− σ 1 ) . d d p (1) P1−σ 1−i k dk d d k=1 dk φ¯dk (B134) Use Eq. (A42) to obtain (cid:34) (cid:35)α( σ ) (cid:88) O (cid:18) u (cid:19) (cid:90) ∞ σ−1 P−ασ = 1− dk Nx p (φ)1−σdG(φ) . (B135) d 1−i k dk dk φ¯ k=1 dk

36 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Plugging this expression into Eq. (B134) and rearranging yields C U (q (1),q (φ)) = d . (B136) d d (cid:18) p (1) (cid:19)1−α(cid:18) P (cid:19)α d d 1−α α The right hand side of this expression is C /Ξ , in which Ξ is defined in Eq. (A4). d d d B.1.2 Deriving present value aggregate welfare Appendix A.1.1 shows that consumer demand is the same when solving a dynamic discounting or static consumer problem. Because there is no asset to transfer resources across time, writing demand, consumption, price indexes, and other equations as a function of time is superfluous. This fact implies that welfare (indirect utility) for the dynamic problem is (cid:90) ∞ C 1C e−rt d dt = d , (B137) Ξ r Ξ 0 d d which is the discounted welfare for the static problem from Eq. (B133). In other words, Eq. (B137) is present value welfare and Eq. (B133) is current value welfare. Using present versus current value welfare is immaterial for optimal tariffs because r is a constant parameter. As such, the main text uses current value welfare for simplicity. This approach also makes our model easily comparable to static trade models, such as Melitz (2003) and Chaney (2008). B.2 Optimal unilateral tariffs with passive trade policies B.2.1 Optimal uniform tariffs with search frictions: Proposition 2 We prove Eq. (34) in Proposition 2 in two steps. B.2.1.1 The social planner’s solution The goal of the social planner in country d is to maximize utility of the representative consumer in country d subject to that country’s labor-supply constraint and the offer curve for exports from country o to country d. Formally, this maximization problem can be written as max U (Q ,Q ) (B138a) d dd do Q ,Q ,Q dd do od subject to: Q ≤ Q (Q ) (B138b) do do od L = L (Q ,Q ,κ ,κ ) (B138c) d d dd od dd do u λ do = ,o ∈ {o,d}. (B138d) 1−i λ+κ χ(κ ) do do do Computing and rearranging first order conditions from (B138) yields (cid:18) (cid:19) (cid:18) (cid:19) ∂L (Q ,Q ) ∂U (Q ,Q ) d dd od d dd do (cid:18) (cid:19) ∂Q ∂Q ∂Q (Q ) od = do do od . (B139) (cid:18) (cid:19) (cid:18) (cid:19) ∂L (Q ,Q ) ∂U (Q ,Q ) ∂Q d dd od d dd do od ∂Q ∂Q dd dd

37 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS The marginal rate of transformation, MRT , and marginal rate of substitution, MRS , od do are given by ∂L (Q ,Q )/∂Q ∂U (Q ,Q )/∂Q MRT = d dd od od (B140a) MRS = d dd do do . (B140b) od do ∂L (Q ,Q )/∂Q ∂U (Q ,Q )/∂Q d dd od dd d dd do dd Substitute these definitions into Eq. (B139) and use the fact that partials of Eq. (B138b) are the same as totals because it is only a function of one variable to get 1 1 = . (B141) MRT /MRS dQ (Q )/dQ od do do od od Next, multiply and divide the right side of Eq. (B141) by Q /Q to get od do 1 Q /Q = od do , (B142) MRT /MRS H od do do in which H = dlnQ (Q )/dlnQ is the elasticity of the offer curve for exports from o do do od od to d. Importantly, none of the steps used to derive Eq. (B142) rely on prices, equilibrium conditions, or any assumptions about country o’s behavior other than the fact that the offer curve is given by (B138b). Define the negotiated price index, N ¯ , and the aggregate terms of trade in country d do (the price of exports from d over the price of imports from o) respectively as ¯ N (Q ) N ¯ Q = IM (B143a) T (Q ,Q ) = od od . (B143b) do do do do do od ¯ N (Q ,Q ) do od do Multiply both sides of Eq. (B142) by Eq. (B143b) to get that Q od T (Q ,Q ) T (Q ,Q ) do do od Q do do od = do. (B144) MRT /MRS H od do do If both countries in this two-country setting maximize utility, then trade between them must be balanced implying that: ¯ IM N (Q )Q Q 1 = od = od od od = T (Q ,Q ) od . (B145) IM N ¯ (Q ,Q )Q do do od Q do do od do do do Using balanced trade with Eq. (B144) gives T (Q ,Q ) 1 do do od = , (B146) MRT /MRS H od do do which defines the optimal condition for the social planner and corresponds to Eq. (15) in Costinot, Rodríguez-Clare, and Werning (2020).

38 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS B.2.1.2 Optimal uniform tariffs Use the fact that because the competitive equilibrium coincides with the social planners solution for consumption, we know that P MRSd = do . (B147) od P dd Use Eqs. (B147) and (B143b) and multiply and divide the left side of Eq. (B146) by 1/ (cid:0) N ¯ /N ¯ (cid:1) and simplify to write the optimal condition as od dd ¯ ¯ N /N 1 dd do = (B148) (cid:18) MRTd (cid:19) 1 H od do N ¯ /N ¯ P /P od dd do dd Using Eq. (24) in Eq. (B148) and the fact that tax/tariff policies other than t are passive do so that t = t = t = 1 implies that Eq. (B148) can be written as dd od oo (cid:32) (cid:33) (cid:18) 1−bu (cid:19) MRTd,u 1 tu = do od , (B149) do 1−bu N ¯u/N ¯u Hu dd od dd do which is non-negative because (1−bu )/(1−bu ) ≥ 0, Hu > 0, and MRTd,u > 0. do dd do od B.2.2 Parameters for numerical examples We present the parameter values for the numerical examples in Table A1. The first column shows the parameters in the model with search frictions and the second column has the unit of each parameter. The parametrization assumes that there are 2 symmetric countries. The only difference between the numerical example with and without search frictions is that the model without search has c = 0. hf B.2.3 The inverse of the elasticity of the offer curve: Proposition 3 We prove Eq. (36) in Proposition 3. Because all derivations are done using variables evaluated at the uniform optimal tariff, Eq. (B144) can be used to write the offer curve evaluated at the uniform optimal tariff in equilibrium, which is rewriting trade balance, as Q 1 od = . (B150) Q (Q ) T (Q ,Q ) do od d do od Taking logs and the total differential of this expression gives dlnQ −dlnQ (Q ) = −dlnT (Q ,Q ) (B151) od do od d do od Dividing both sides by dlnQ (Q ) and simplifying delivers do od dlnQ dlnT (Q ,Q ) od −1 = − d do od (B152) dlnQ (Q ) dlnQ (Q ) do od do od so that 1 dlnQ dlnT (Q ,Q ) = od = 1− d do od , (B153) H dlnQ (Q ) dlnQ (Q ) do do od do od

39 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS which relies on the definition of H from Eq. (34b). Using Eqs. (B143b) and (24) gives do dlnT (Q ,Q ) dln(1−b )/(1−b ) dln(P /(P /t )) dln(P /P ) d do od do od od do do oo oo = − + + , dlnQ (Q ) dlnQ (Q ) dlnQ (Q ) dlnQ (Q ) do od do od do od do od (B154) in which we have added the last term (equal to 0) to relate the result to CRW. Rearranging this expression provides dlnT (Q ,Q ) dln((P /t )/P ) dln(P /P ) dln(1−b )/(1−b ) d do od do do oo od oo do od = − + − , dlnQ (Q ) dlnQ (Q ) dlnQ (Q ) dlnQ (Q ) do od do od do od do od (B155) so dlnT (Q ,Q ) d do od = −ϵ +ϵ −ϵ , (B156) P ,Q P ,Q B ,Q dlnQ (Q ) do do od do do do do od in which dln(Pu/Pu) ϵu = od oo . (B157) P od ,Q do dlnQ (Q ) do od Therefore, Eq. (B153) implies that the inverse of the elasticity of the offer curve is 1 = 1+ϵ −ϵ +ϵ . (B158) P ,Q P ,Q B ,Q H do do od do do do do Notice that ϵ = dln(P od /P oo ) = dln(MRS d o o ) = dln(Q od /Q oo )− σ 1 (B159) P ,Q od do dlnQ (Q ) dlnQ (Q ) dlnQ (Q ) do od do od do od because ∂U (Q ,Q )/∂Q (cid:18) Q (cid:19)− σ 1 MRSo = o oo od od = od (B160) do ∂U (Q ,Q )/∂Q Q o oo od oo oo so (cid:18) (cid:19) 1 1 1 1 ϵ = − − −1 , (B161) P ,Q od do σH σ x do oo in which we use Eq. (34b) and substituted dlnQ /dlnQ (Q ) = −((1/x )−1) from oo do od oo Eq. (36c). Plugging this into Eq. (B158) and simplifying yields Eq. (36). B.2.4 Recovering the optimal tariff formula in the model without search frictions In the no search model the inverse of the elasticity of the offer curve and the optimal tariff are equal, as discussed in Section 3.2, and ϵ = 0 so that Eq. (36) implies B ,Q do do 1 1 1+ϵu σxu tu = = 1+µϵu + = 1+ P do ,Q do oo , (B162) do Hu P do ,Q do (σ −1)xu (σ −1)xu do oo oo in which ϵ equals the EoT because P ,Q do do dln((P /t )/P ) dlnMRTo ϵ = do do oo = do . (B163) P ,Q do do dlnQ (Q ) dlnQ (Q ) do od do od

40 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS See pg. 2760 for the definition of the EoT in CRW and see Eq. S.F.4 for the relationship between MRTo and the ratio of prices. do Also notice that (cid:18) (cid:19) dlnQ (Q ) Q P /t Q C /t oo do = (−MRTo ) do = − do do do = − do do . (B164) dlnQ (Q ) do Q P Q C do od oo oo oo oo So Eq. (36c) simplifies to C x = oo , (B165) oo C +C oo od which uses the fact that with no search frictions trade balance implies that t C = C do od do because IM = C and IM = C /t . CRW define x on pg. 2760 under Eq. 22 as the od od do do do oo share of expenditure on domestic goods by country o. Finally, notice that using the equation for the EoT in footnote 20 of CRW, Eq. (B162) can also be written as 1 tu = 1+ . (B166) do [µθ−1]xu oo B.2.5 The price elasticity: Proposition 4 We prove Eq. (38) in Proposition 4. Using P from Eq. (A44), the relevant ratio in Eq. do (36b) becomes (cid:34) (cid:35) 1 (cid:18) u (cid:19) (cid:18) τ (cid:19)1−σ 1−σ do (cid:82)∞ do 1− dG(φ) P /t 1−i do φ¯ do φ do do = , (B167) P (cid:34) (cid:35) 1 oo (cid:18) u (cid:19) (cid:18) τ (cid:19)1−σ 1−σ oo (cid:82)∞ oo 1− dG(φ) 1−i φ¯oo φ oo in which t , Nx, µ, and w cancel out. Next, use the Pareto moment from Eq. (A45) to do o o compute the integrals of Eq. (B167) (cid:20)(cid:18) u (cid:19) θφ¯σ−θ−1 (cid:21) 1− 1 σ 1− do τ1−σ do P /t 1−i do θ−σ +1 do do = do . (B168) P oo (cid:20)(cid:18) u (cid:19) θφ¯σ−θ−1 (cid:21) 1− 1 σ 1− oo τ1−σ oo 1−i oo θ−σ +1 oo Eqs. (A74) and (18) imply that φ¯σ do −θ−1 = µσ−1−θσ1+ 1− θ σ (w o τ do )σ−1−θ(w o F (κ do ))1+ 1− θ σ tµ do (σ−1−θ) (cid:18) P Q d − o σ(cid:19)1+ 1− θ σ . (B169) do

41 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Plug this back into Eq. (B168) and rearrange to obtain (cid:18) u (cid:19) σθ ( − σ ( − σ 1 − ) 1) oo (cid:18) (cid:19) θ(σ−1) (cid:18) (cid:19) θ−(σ−1) (cid:18) (cid:19) θ−(σ−1) 1− P do /t do = τ do σθ−(σ−1) F (κ do ) σθ−(σ−1) Q oo σθ−(σ−1)  (cid:18) 1−i oo (cid:19)   . P τ F (κ ) Q  u  oo oo oo do 1− do 1−i do (B170) As such, (cid:20) (cid:21)(cid:20) (cid:21) (cid:20) (cid:21) θ−(σ −1) dlnQ (Q ) θ−(σ −1) d(ln(F /F )) oo do do oo ϵ = −1 + P ,Q do do σθ−(σ −1) dlnQ (Q ) σθ−(σ −1) dlnQ (Q ) do od do od (cid:18) (cid:19) (cid:18) (cid:19) u u oo do dln 1− dln 1− (cid:20) (cid:21) (cid:20) (cid:21) (σ −1) 1−i (σ −1) 1−i + oo − do σθ−(σ −1) dlnQ (Q ) σθ−(σ −1) dlnQ (Q ) do od do od Recall that (cid:18) (cid:19) u do dln 1− (cid:18) (cid:19) 1−i u dlnκ do = do (1−η) do (B171) dlnQ 1−i dlnQ do do do so that (cid:20) (cid:21)(cid:20) (cid:21) θ−(σ −1) θ−(σ −1) dlnF dlnF ϵ = − + do − oo (B172) P ,Q do do [σθ−(σ −1)]x σθ−(σ −1) dlnQ dlnQ oo do do (cid:20) (cid:21)(cid:20)(cid:18) (cid:19) (cid:18) (cid:19) (cid:21) (σ −1) u dlnκ u dlnκ do do oo oo − (1−η) − , σθ−(σ −1) 1−i dlnQ 1−i dlnQ do do oo do in which we use Eq. (36c). Assuming that h = −l , h = −l , and s = s = 0 so that oo oo do do oo do dlnF ∂lnF F and F are parameters and do = oo = 0 yields Eq. (38). oo do dlnQ ∂lnQ do do Under additional restrictions we show that ϵs ≤ ϵns , in which the ‘‘s’’ P ,Q P ,Q superscript denotes search and ‘‘ns’’ denotes no sdeoarcdoh. Wedoargdoue in Section 3.2 that dlnκ /dlnQ ≥ 0 and dlnκ /dlnQ ≤ 0. Now we present an argument that xs ≥ xns. do do oo do oo oo Start with an economy that has no search frictions so that c = 0∀do and x satisfies Eq. do oo (B165). Now increase search costs in the do market only. We know that these search costs reduce imports to country d from country o because of Eq. (23). Trade balance implies that imports to country o from country d also fall. Because country o has passive trade policy, lower imports mean lower consumption of differentiated goods in the od market, C , reinforced by an import markdown. As such, if effects on domestic consumption, C , od oo are relatively small, this increase in search costs, c , imply an increase in the domestic do consumption share in country o. B.2.6 Offer-curve elasticities in the model with and without search We provide a sufficient condition so that the inverse of the elasticity of the offer curve in the model with search frictions is below that in the model without search frictions,

42 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS 1/Hs ≤ 1/Hns. Using Eqs. (36) and (B162) the condition is true if do do 1 1 µϵs + +µϵs ≤ +µϵns . (B173) P do ,Q do (σ −1)xs B do ,Q do (σ −1)xns P do ,Q do oo oo If ϵ ≈ 0, the sufficient condition becomes B ,Q do do 1 1 +µϵs ≤ +µϵns . (B174) (σ −1)xs P do ,Q do (σ −1)xns P do ,Q do oo oo We discuss that ϵs ≤ ϵns in Appendix B.2.5, so that the sufficient condition P ,Q P ,Q becomes do do do do 1 1 ≤ , (B175) (σ −1)xs,u (σ −1)xns,u oo oo and yields: xs,u ≥ xns,u. (B176) oo oo Simply put, if x at the optimal tariff is larger in the model with search frictions than oo without them, that reduces the inverse of the offer-cure elasticity in Eq. (36) and provides additional incentives to reduce the optimal tariff in Eq. (34). B.2.7 Optimal tariffs and the tariff elasticity Without selection and d having a labor endowment that is small relative to the origin country o, Gros (1987) shows that optimal unilateral tariff is Eq. (B177a), in which xu (tu ) is defined in Eq. (B165) for a model without search frictions. When d is not small, oo do Gros (1987) shows the optimal tariff is Eq. (B177b). With selection and θ as the parameter that governs the Pareto distribution of productivity and d small, Demidova and Rodríguez-Clare (2009) shows the optimal tariff is Eq. (B177c). With selection, the same productivity assumptions, and when d is not small, Felbermayr, Jung, and Larch (2013) show the optimal tariff is Eq. (B177d). 1 1 tu = 1+ , (B177a) tu = 1+ , (B177b) do (σ −1) do (σ −1)xu (tu ) oo do 1 1 tu = 1+ , (B177c) tu = 1+ . (B177d) do (µθ−1) do (µθ−1)xu (tu ) oo do Tariff elasticities fully determine the optimal tariff only when the destination country d is small. In particular, the tariff elasticity without selection from Eq. (A69), derived in Appendix A.3.4.2, only provides the optimal tariff, Eq. (B177a), when d is small. Likewise, the tariff elasticity with selection from Eq. (A62), derived in Appendix A.3.4.1, only provides the optimal tariff, Eq. (B177c), when d is small. With search frictions, the tariff elasticity (Eq. A60) does not independently determine the optimal tariff in Eq. (34) due to the markdown ratio, among other factors. B.2.8 Exogenous search frictions and optimal tariffs We consider a modification to our framework to study optimal tariffs in a model with search frictions that delivers a globally efficient decentralized equilibrium. Specifically, we consider a model in which producers’ unmatched rates are taken as given, so that we

43 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS do not endogenize vacancy creation as in Eq. (19). This assumption appears in a vast literature about labor markets in which unmatched rates are taken as given. Specifically, set the match elasticity in Eq. (4) to one (η = 1) so that producers’ unmatched rates are the same in every market κ χ(κ ) = ξ, (B178) do do and the matched rates become u ξ 1− do = . (B179) 1−i λ+ξ do To obtain allocative efficiency in our model with search frictions, We also assume that idle rates, i , are fixed so that there is no selection. This need arises because the do investment term in Eq. (29) includes the idle rate. With these assumptions, the economy is otherwise the same as the model considered by Costinot, Rodríguez-Clare, and Werning (2020, p. 2741)—namely that consumers have constant elasticity of substitution (CES) preferences—so that each economy attains allocative efficiency and the decentralized equilibrium is also globally efficient (Dhingra and Morrow, 2019). In any economy, efficient or not, the optimal tariff is given by Eq. (34). It is easy to show that Eq. (B178) implies that b is a function of only parameters so that do ∂ln(1−bu ) ∂ln(1−bu ) ∂ln(1−bu ) ∂ln(1−bu ) do = od = od = do = 0. ∂lnQu ∂lnQu ∂lnQu ∂lnQu do do od od We can also show that (cid:20) (cid:21) θ−(σ −1) ϵ = − P ,Q do do [σθ−(σ −1)]x oo in this case, which is the same expression as in the model without search frictions. Therefore, the optimal tariff with exogenous search frictions is (cid:18) 1−bu (cid:19)(cid:18) 1 (cid:19) tu = do 1+ . (B180) do 1−bu [µθ−1]xu dd oo For comparison, the optimal tariff without search frictions is determined by Eq. (B166). Optimal tariffs in the model with exogenous search and without search frictions will differ for at least two reasons. First, the ratio of markdowns in Eq. (B180) will in general not equal to one in the model with exogenous search, but it is equal to one in the model without search frictions. A sufficient condition for the ratio of the markdowns to equal to one in the model with exogenous search frictions is δ /F = δ /F , which yields: do do od od f −l −ξs f −l −ξs (cid:18)r+λ(cid:19) do (cid:18) do r+λ(cid:19) do (cid:18)r+λ(cid:19) = (cid:18)r+λ(cid:19) od (cid:18) od r+λ(cid:19) od (cid:18)r+λ(cid:19) (B.181) f + l + 1+ h + s f + l + 1+ h + s do βξ do βξ do β do od βξ od βξ od β od This condition is satisfied if h = −l , s = 0 for ij ∈ {do,od}, f = f , and l = l , or, ij ij ij do od do od alternatively, if countries are symmetric. A sufficient condition that is stronger than the former and weaker than the latter is δ = δ and F = F . do od do od Second, the domestic consumption share, x (t ), will differ in the two models if we oo do

44 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS consider large open economies because the equilibria will differ. If country d is a small open economy, equal import markdowns in the do and dd markets ensure that the optimal tariff is the same as in Demidova and Rodríguez-Clare (2009) because xu = 1. oo In short, the optimal tariff is a fixed point that is a function of general equilibrium variables. These equilibrium variables are affected by the introduction of search frictions, even when the matching rates and idle rates are exogenous, the equilibrium is globally efficient, and each country attains allocative efficiency. B.2.9 Efficiency conditions Brancaccio, Kalouptsidi, Papageorgiou, and Rosaia (2023) derive conditions under which the decentralized equilibrium is globally efficient in a related environment with random endogenous search between customers and carriers. They derive several efficiency conditions in Theorem 1 that formalize our discussion in KM, Section 4.6. First, they derive conditions that are like those in Hosios (1990) for carriers and customers that internalize congestion and market thickness externalities on both sides of the market (Eqs. 22 and 27). These conditions require that the elasticity of the matching function with respect to searching carriers (customers) in each location must equal carriers’ (customers’) surplus share in that location. Second, they derive a condition that internalizes ‘‘composition’’ externalities (Eq. 25), which equalizes the surplus of carriers across different types of locations. They write that, ‘‘This logic holds in random search models with heterogeneity and it is not specific to the transport problem studied here’’ (pg. 2472). This result affirms that some search models—including ours—have participation and output externalities in which Hosios conditions alone will not ensure efficiency. Moreover, we conjecture that conditions similar to the ones in Brancaccio et al. (2023) will guarantee global efficiency of the decentralized equilibrium in our model with search frictions. If that conjecture is correct, then the decentralized economy’s efficiency depends on the bargaining power and the elasticity of the matching function in ways that are well understood. Specifically, if producers’ (firms’) surplus share, β (1−β), is greater (less) than the elasticity of the matching function with respect to unemployment (vacancies), η (1-η), then firms are not compensated enough and the unmatched rate will be inefficiently high in the decentralized equilibrium. The opposite is true if producers’ (firms’) surplus share is less (greater) than the elasticity of the matching function with respect to unemployment (vacancies). This is the well-known Hosios (1990) result. The condition that internalizes composition effects is, in general, not satisfied if wages are determined by Nash bargain (Mangin and Julien, 2021), regardless of the values for β and η. Alternatively, competitive search models—those in which some agents can post prices and other agents direct their search to the most attractive alternatives—typically yield efficient market tightness in the decentralized economy, both in static and dynamic environments (Moen, 1997; Acemoglu and Shimer, 1999; Rogerson, Shimer, and Wright, 2005). In summary, four distinct approaches would ensure global efficiency in our model. First, impose search frictions with exogenous unmatched and idle rates. Second, have a global social planner choose market tightnesses and have country social planners choose tariffs. Third, use the results of Brancaccio et al. (2023, Section II.C.3) and introduce various taxes—including taxes on every match and on retailers and producers—to

45 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS internalize the externalities we mention above. Fourth, change our model from one with random endogenous search and Nash bargaining to one with directed search and price posting (competitive search). We discuss the first approach in Section 3.3 and Appendix B.2.8. The other approaches are material departures from our current framework and are better suited for future work. That work can also assess the relationship between allocative efficiency in all countries and global efficiency. B.3 Nash equilibrium and the Nikaidô-Isoda function We can solve for the Nash equilibrium using the Nikaidô-Isoda (NI) function (Nikaidô and Isoda, 1955) given by   D (cid:88) (cid:16) (cid:17) Ψ(t,ζ) = L d (t,ζ)− sup L d ˆt,ζ ˆ , (B182) d=1 ⃗t ˆ ,ζ⃗ˆ d∗ d∗ in which the Lagrangian, L (t,ζ), is written as a function of the exogenous tariffs, t, and d exogenous matrix of Lagrange multipliers, ζ, corresponding to all of the constraints defined in Eq. (39). The Lagrangian is also a function of the endogenous variables— κ,φ¯,C ⃗ ,w⃗—that define the economy’s equilibrium, but those are determined by satisfying the constraints in Eq. (39) for given values of t and ζ. As such, we do not write out the endogenous variables explicitly in Eq. (B182). Intuitively, each summand of the NI function in Eq. (B182) can be thought of as the difference in equilibrium welfare for a country d and that country’s best response. When the summand for country d is zero, that country has no unilateral incentive to deviate. When the sum for all countries is zero, no country has a unilateral incentive to deviate. Hence, the Nash equilibrium is defined as Ψ(tn,ζn) = 0 because this is when no country can benefit by unilaterally changing their tariffs. It is possible to show that Ψ(tn,ζn) = 0 is a global maximum because Ψ(t,ζ) ≤ 0.

46 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS C Calibration appendix We use a calibration strategy similar to that in KM and include the details here. Table 1 summarizes the parameters and main sources of identification and Table 2 presents the data moments and model fit. C.1 Externally calibrated parameters We benchmark the producers’ bargaining power, β, at 0.5 Drozd and Nosal (2012); Eaton, Eslava, Jinkins, Krizan, and Tybout (2014); Eaton, Jinkins, Tybout, and Xu (2016). We set the annual interest rate, r, to 5 percent. The average duration of a Chinese and U.S. trading relationship is about one year (Monarch and Schmidt-Eisenlohr, 2018, Fig. 9), so we set our separation parameter, λ = 1, because average match duration in the model is 1/λ. We set the elasticity of substitution between differentiated varieties, σ, to four, consistent with median estimates in Broda and Weinstein (2006), and implying a final sales markup over marginal production cost of 33%. We set the Pareto parameter to be consistent with the firm-size distribution estimate from Axtell (2001) of 1.06 = θ/(σ −1), which implies that θ equals 3.18. We normalize the matching efficiency, ξ, to 1 as in Shimer (2005). Working age populations, L and L , are taken from total c u population of ages 15 to 64 from the World Bank (WB, 2016c,d). Firm endowments, Nx Nx, are informed by the levels of aggregate consumptions in in u c China and the U.S., as reported in the national accounts of each country (BEA, 2016a; WB, 2016a; BEA, 2016c; NBSC, 2016b). The normalization value is chosen to express real GDP in trillions of dollars and satisfy purchase power parity of 60 percent between the United States and China. The iceberg origin parameter, A , and scale parameter, A, are o=u normalized to one. We choose domestic taxes, t , to match the domestic sales tax in the US and the VAT dd rate in China. We choose import tariffs for China to match the import VAT rate, and we choose US import tariffs to match the tariff levels plus the domestic sales tax. We choose distance between and within the countries to match the data. Finally, we set the fraction of consumption expenditure on differentiated goods, α to 1 so that the calibration has no homogeneous good. C.2 Intuition for parameter identification The search frictions in our model are governed by retailers’ flow search cost, c . If the do fraction of matched exporters is low, it implies that there are few searching retailers, market tightness is low, and that international search costs are high. Consequently, we use the fact that 21 percent of Chinese firms export (WB, 2018) and that six percent of U.S. firms export to China (CB, 2016a,b) to identify c and c , respectively. Eaton et al. uc cu (2014) and Eaton et al. (2016) also use the fraction of firms that export to identify search model parameters. We use manufacturing capacity utilization to inform the level of domestic search frictions in goods markets, as in Michaillat and Saez (2015), Petrosky-Nadeau and Wasmer (2017) and Petrosky-Nadeau, Wasmer, and Weil (2018). We target 75 and 74 percent manufacturing capacity utilization in the United States and China in 2016, respectively, to inform c and c (FRB, 2020; NBSC, 2016a). We also uu cc assume that international search costs are larger than domestic search cost so that c ≥ c and c ≥ c . We discuss how we calibrate the elasticity of the matching uc uu cu cc function, η, in Appendix C.3.

47 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS This observed expected duration is also broadly consistent with survival probabilities among Colombian-U.S. trading relationships (Eaton et al., 2014). We use business failure rates to inform the fixed costs of production, f . Fixed costs do inform the productivity thresholds in the model. In turn, these define the idle rates. Business failure rates capture the fraction of firms that cease production, which helps inform the measure of firms in the model that take a productivity draw and do not produce. Labor share of GDP per working age person informs the wage in the US, and we normalize the Chinese wage to 11. The difference between consumption and GDP as reported in the national accounts of each country (BEA, 2016b; WB, 2016b; BEA, 2016d; NBSC, 2016c) and the exogenous choice of the number of product varieties, Nx, together d inform the exploration cost ex. d C.3 Calibrating import elasticities with respect to distance and tariffs To calibrate to import elasticities with respect to distance and tariffs, we must first derive a log-linear estimating equation implied by our model that matches the specifications in the literature. Additionally, iceberg costs τ are not directly observed do but are often modeled as a function of common colonial origin, common language, free or regional trade agreements, and distance D , for example. As such, we parameterize do iceberg costs as τ = AA A Da1, (C183) do d o do in which A, A , A , and a are parameters to be calibrated. Substituting Eq. (C183) into d o 1 Eq. (23) for τ , taking logs and collecting similar indices of observation gives do (cid:32) (cid:33) ln(IM ) = ln (cid:0) αA−θ (cid:1) +ln C (cid:18) A d (cid:19)−θ +ln (cid:18) A−θNxw−θw −( σ− θ 1 −1) (cid:19) (C184) do d ρ o o o o d (cid:16) (cid:17) + ln (cid:0) D−θa1 (cid:1) +ln t−µθ do do (cid:20)(cid:18) (cid:19) (cid:21) + ln 1− u do (1−b(σ,θ,γ ,δ ,F ))F −( σ− θ 1 −1) . 1−i do do do do do Because the first three terms in Eq. (C184) are either constant or only vary by destination or origin, we can simplify notation by writing ϕ=ln (cid:0) αA−θ(cid:1) , ϕ =ln (cid:32) C (cid:18) A d (cid:19)−θ (cid:33) , andϕ =ln (cid:18) A−θNxw−θw −( σ− θ 1 −1) (cid:19) . (C185) d d ρ o o o o o d Also use Eqs. (20), (17), and (A58) to define the log of the terms that include search frictions as (cid:20)(cid:18) (cid:19) (cid:21) z (κ ) = ln 1− u do (1−b )F −( σ− θ 1 −1) . (C186) do do 1−i do do do Importantly, the only endogenous variable in Eq. (C186) is κ . Using Eqs. (C185) and do (C186), the log-linear gravity equation from our model, Eq. (C184), can be expressed as, ln(IM ) = ϕ+ϕ +ϕ −θa ln(D )−µθln(t )+z (κ ), (C187) do d o 1 do do do do

48 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS which is a restatement of imports in our model and therefore has no error term. If our model is true, then Eq. (C187) provides a and fits the data perfectly. Gravity equation 1 estimates in the literature omit search frictions, z , and instead estimate a specification do similar to: ln(IM ) = ϕ+ϕ +ϕ +ζ ln(D )+ζ ln(t )+ε , (C188) do d o 1 do 2 do do in which ζ is a constant, ζ and ζ are fixed effects, and ε is an error term. Omitting z d o do do results in biased estimates of the true parameters. We can characterize that bias by estimating z (κ ) = ϕ+ϕ +ϕ +γ ln(D )+γ ln(t )+η (C189) do do d o 1 do 2 do do and then using the omitted variable bias formula (with the true coefficient on the z in do Eq. (C187) being equal to one) to write (cid:104) (cid:105) (cid:104) (cid:105) E ζ ˆ | X = −θa +γ , and E ζ ˆ | X = −µθ+γ , (C190) 1 do 1 1 2 do 2 in which X = (ϕ,ϕ ,ϕ ,ln(D ),ln(t )). do d o do do Disdier and Head (2008, Table 1) provide a meta analysis of about 1,500 estimate of the effect of distance on trade. Head and Mayer (2014, Table 3.4) provide a similar analysis of 328 estimates. In both papers, those estimates are about −0.9 and so we set −0.9 = −θa +γˆ, which mostly helps to inform a . Because θ = 3.18 is externally 1 1 1 calibrated in Table 1, Eq. (C190) imposes a linear relationship between a and γˆ. 1 1 Fontagné, Guimbard, and Orefice (2022, p. 3) estimate the median elasticity of imports with respect to tariffs is about −5. As such, we set −5 = −µθ+γˆ, which mostly 2 helps to inform η. Because −µθ = −3.18×(4/3) = −4.24 is externally calibrated in Table 1, Eq. (C190) is effectively targeting γ = −0.76. 2 To see why the estimates from Eq. (C189) combined with estimates from the literature help to inform η, notice that we can write (cid:20) (cid:18) (cid:19) (cid:18) (cid:19) (cid:21) u dlnκ dln(1−b (κ )) θ dlnF (κ ) γ =E (1−η) do do + do do − −1 do |X , 1 1−i dln(D ) dln(D ) σ−1 dln(D ) do do do do do and also, (cid:20) (cid:18) (cid:19) (cid:18) (cid:19) (cid:21) u dlnκ dln(1−b (κ )) θ dlnF (κ ) γ =E (1−η) do do + do do − −1 do |X . 2 1−i dln(t ) dln(t ) σ−1 dln(t ) do do do do do The A parameters are informed by the level of imports and domestic production. For o example, raising the origin fixed effect for country d lowers domestic production in country d and lowers trade flows, but affects foreign domestic production little. The A parameters are informed by the price indexes, Ξ , in each country but do not d d otherwise affect the model. For the former, notice that Eq. (A43) implies that for country d, A enters the price index in a linear, multiplicative way. As an example of the latter, d notice that Eq. (22) implies that ρ is a linear multiplicative function of A , so that the d d ratio of τ /ρ in the gravity equation (Eq. 23) is unaffected because A cancels in the do d d numerator and denominator. We choose A so that Ξ = 1000∀d in our baseline d d calibration so that we can treat nominal values in billions.

49 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Appendix references Acemoglu, Daron and Robert Shimer (1999). ‘‘Holdups and Efficiency with Search Frictions.’’ International Economic Review, 40(4), pp. 827--849. doi:https://doi.org/10.1111/1468-2354.00043. Axtell, Robert L. (2001). ‘‘Zipf distribution of U.S. firm sizes.’’ Science, 293(5536), pp. 1818--1820. doi:10.1126/science.1062081. BEA (2016a). ‘‘Gross domestic product [GDPA].’’ https://fred.stlouisfed.org/series/GDPA. Accessed: March 12, 2019. BEA (2016b). ‘‘Gross domestic product [GDPA].’’ https://fred.stlouisfed.org/series/GDPA. Accessed: March 12, 2019. BEA (2016c). ‘‘Personal consumption expenditures [PCECA].’’ https://fred.stlouisfed.org/series/PCECA. Accessed: March 12, 2019. BEA (2016d). ‘‘Personal consumption expenditures [PCECA].’’ https://fred.stlouisfed.org/series/PCECA. Accessed: March 12, 2019. Brancaccio, Giulia, Myrto Kalouptsidi, Theodore Papageorgiou, and Nicola Rosaia (2023). ‘‘Search Frictions and Efficiency in Decentralized Transport Markets.’’ Quarterly Journal of Economics, 138(4), pp. 2451--2503. doi:10.1093/qje/qjad023. Broda, Cristian and David Weinstein (2006). ‘‘Globalization and the gains from variety.’’ Quarterly Journal of Economics, 121(2), pp. 541--585. doi:10.1162/qjec.2006.121.2.541. CB (2016a). ‘‘2016 Statistics of U.S. Businesses Annual Data Tables by Establishment Industry, U.S. by 6-digit NAICS.’’ https://www.census.gov/data/tables/2016/econ/susb/2016-susb-annual.html. Accessed: March 12, 2019. CB (2016b). ‘‘A profile of U.S. importing and exporting companies, exhibits 1a and 5a.’’ https://www.census.gov/foreign-trade/Press-Release/edb/2016/index.html. Accessed: March 12, 2019. Chaney, Thomas (2008). ‘‘Distorted gravity: The intensive and extensive margins of international trade.’’ American Economic Review, 98(4), pp. 1707--21. doi:10.1257/aer.98.4.1707. Costinot, Arnaud, Andrés Rodríguez-Clare, and Iván Werning (2020). ‘‘Micro to macro: Optimal trade policy with firm heterogeneity.’’ Econometrica, 88(6), pp. 2739--2776. doi:https://doi.org/10.3982/ECTA14763. URL https://onlinelibrary.wiley.com/doi/abs/10.3982/ECTA14763. Demidova, Svetlana and Andrés Rodríguez-Clare (2009). ‘‘Trade policy under firm-level heterogeneity in a small economy.’’ Journal of International Economics, 78(1), pp. 100 -- 112. doi:https://doi.org/10.1016/j.jinteco.2009.02.009. URL http://www.sciencedirect.com/science/article/pii/S0022199609000269. Dhingra, Swati and John Morrow (2019). ‘‘Monopolistic competition and optimum product diversity under firm heterogeneity.’’ Journal of Political Economy, 127(1), pp. 196--232. doi:10.1086/700732. Disdier, Anne-Célia and Keith Head (2008). ‘‘The Puzzling Persistence of the Distance Effect on Bilateral Trade.’’ Review of Economics and Statistics, 90(1), pp. 37--48. doi:10.1162/rest.90.1.37. Drozd, Lukasz A. and Jaromir B. Nosal (2012). ‘‘Understanding International Prices: Customers as Capital.’’ American Economic Review, 102(1), pp. 364--395.

50 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS doi:10.1257/aer.102.1.364. Eaton, Jonathan, Marcela Eslava, David Jinkins, C. J. Krizan, and James Tybout (2014). ‘‘A search and learning model of export dynamics.’’ Mimeo, Pennsylvania State University. Available at http://www.davidjinkins.com/docs/EEJKT_02_26_2014.pdf. Eaton, Jonathan, David Jinkins, James Tybout, and Daniel Xu (2016). ‘‘Two-sided search in international markets.’’ Mimeo, Pennsylvania State University. Available at http://www.ucdenver.edu/academics/colleges/CLAS/Departments/economics/ Seminars/Documents/ejtx_draft_v14.pdf. Felbermayr, Gabriel, Benjamin Jung, and Mario Larch (2013). ‘‘Optimal tariffs, retaliation, and the welfare loss from tariff wars in the melitz model.’’ Journal of International Economics, 89(1), pp. 13 -- 25. doi:https://doi.org/10.1016/j.jinteco.2012.06.001. URL http://www.sciencedirect.com/science/article/pii/S0022199612001195. Fontagné, Lionel, Houssein Guimbard, and Gianluca Orefice (2022). ‘‘Tariff-based product-level trade elasticities.’’ Journal of International Economics, 137, p. 103,593. doi:https://doi.org/10.1016/j.jinteco.2022.103593. URL https://www.sciencedirect.com/science/article/pii/S0022199622000253. FRB (2020). ‘‘Capacity utilization: Manufacturing (SIC).’’ https://fred.stlouisfed.org/series/CUMFNS. Accessed: May 14, 2020. Gros, Daniel (1987). ‘‘A note on the optimal tariff, retaliation and the welfare loss from tariff wars in a framework with intra-industry trade.’’ Journal of International Economics, 23(3), pp. 357 -- 367. doi:https://doi.org/10.1016/0022-1996(87)90061-4. URL http://www.sciencedirect.com/science/article/pii/0022199687900614. Head, Keith and Thierry Mayer (2014). ‘‘Gravity equations: Workhorse,toolkit, and cookbook.’’ In Gita Gopinath, Elhanan Helpman, and Kenneth Rogoff, editors, Handbook of International Economics, volume 4, chapter 3, pp. 131--195. Elsevier, 1 edition. doi:10.1016/b978-0-444-54314-1.00003-3. Heise, Sebastian (2016). ‘‘Firm-to-firm relationships and price rigidity theory and evidence.’’ Working Paper 6226, CESifo. doi:10.2139/ssrn.3033261. Hosios, Arthur J. (1990). ‘‘On the efficiency of matching and related models of search and unemployment.’’ Review of Economic Studies, 57(2), pp. 279--298. doi:10.2307/2297382. Krolikowski, Pawel M. and Andrew H. McCallum (2021). ‘‘Goods-market frictions and international trade.’’ Journal of International Economics, 129, p. 103,411. doi:https://doi.org/10.1016/j.jinteco.2020.103411. URL https://www.sciencedirect.com/science/article/pii/S0022199620301264. Mangin, Sephorah and Benoît Julien (2021). ‘‘Efficiency in search and matching models: A generalized hosios condition.’’ Journal of Economic Theory, 193, pp. 105--208. doi:https://doi.org/10.1016/j.jet.2021.105208. URL https://www.sciencedirect.com/science/article/pii/S0022053121000259. Mas-Colell, Andreau, Michael D. Whinston, and Jerry R. Green (1995). Microeconomic Theory. Oxford Student edition. Oxford University Press. URL https://books.google.com/books?id=KGtegVXqD8wC. Melitz, Marc J. (2003). ‘‘The impact of trade on intra-industry reallocations and aggregate industry productivity.’’ Econometrica, 71(6), pp. 1695--1725. doi:10.1111/1468-0262.00467. Michaillat, Pascal and Emmanuel Saez (2015). ‘‘Aggregate Demand, Idle Time, and

51 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Unemployment.’’ Quarterly Journal of Economics, 130(2), pp. 507--569. doi:10.1093/qje/qjv006. Moen, Espen R. (1997). ‘‘Competitive search equilibrium.’’ Journal of Political Economy, 105(2), pp. 385--411. doi:10.1086/262077. Monarch, Ryan and Tim Schmidt-Eisenlohr (2018). ‘‘Longevity and the value of trade relationships.’’ URL https://sites.google.com/site/ryanmonarch/research, mimeo, Federal Reserve Board of Governors. Monarch, Ryan and Tim Schmidt-Eisenlohr (2023). ‘‘Longevity and the value of trade relationships.’’ URL https://drive.google.com/file/d/1kClCg2g3o5N7N3Xpmcts4jooSLvUKi56/view, mimeo, Syracuse University. Nash, John F., Jr. (1950). ‘‘The bargaining problem.’’ Econometrica, 18(2), pp. 155--162. doi:10.2307/1907266. NBSC (2016a). ‘‘Industrial capacity utilization rate: Manufacturing.’’ https://www.ceicdata.com/en/china/capacity-utilization-rate. Accessed: March 12, 2019. NBSC (2016b). ‘‘Private consumption expenditure.’’ https: //www.ceicdata.com/en/indicator/china/private-consumption-expenditure. Accessed: March 12, 2019. NBSC (2016c). ‘‘Private consumption expenditure.’’ https: //www.ceicdata.com/en/indicator/china/private-consumption-expenditure. Accessed: March 12, 2019. Nikaidô, Hukukane and Kazuo Isoda (1955). ‘‘Note on non-cooperative convex games.’’ Pacific Journal of Mathematics, 5(S1), pp. 807 -- 815. doi:pjm/1171984836. URL https://doi.org/. Osborne, Martin J. and Ariel Rubinstein (1990). Bargaining and Markets. London: Academic Press. Available at https://books.osborne.economics.utoronto.ca/. Petrosky-Nadeau, Nicolas and Etienne Wasmer (2017). Labor, credit, and goods markets: The macroeconomics of search and unemployment. MIT Press. Available at https://mitpress.mit.edu/books/labor-credit-and-goods-markets. Petrosky-Nadeau, Nicolas, Etienne Wasmer, and Philippe Weil (2018). ‘‘Efficiency in sequential labor and goods markets.’’ doi:10.24148/wp2018-13. Federal Reserve Bank of San Francisco Working Paper 2018-13. Rogerson, Richard, Robert Shimer, and Randall Wright (2005). ‘‘Search-theoretic models of the labor market: A survey.’’ Journal of Economic Literature, 43(4), pp. 959--988. doi:10.1257/002205105775362014. Shimer, Robert (2005). ‘‘The cyclical behavior of equilibrium unemployment and vacancies.’’ American Economic Review, 95(1), pp. 25--49. doi:10.1257/0002828053828572. WB (2016a). ‘‘Gross domestic product for china [MKTGDPCNA646NWDB].’’ https://fred.stlouisfed.org/series/MKTGDPCNA646NWDB. Accessed: March 12, 2019. WB (2016b). ‘‘Gross domestic product for china [MKTGDPCNA646NWDB].’’ https://fred.stlouisfed.org/series/MKTGDPCNA646NWDB. Accessed: March 12, 2019. WB (2016c). ‘‘Population ages 15-64, total - china.’’

52 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS https://data.worldbank.org/indicator/SP.POP.1564.TO?locations=CN. Accessed: March 12, 2019. WB (2016d). ‘‘Population ages 15-64, total - united states.’’ https://data.worldbank.org/indicator/SP.POP.1564.TO?locations=US. Accessed: March 12, 2019. WB (2018). ‘‘Enterprise surveys.’’ http://www.enterprisesurveys.org/. Accessed: March 12, 2018.

53 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig. A1: Foreign welfare as a function of unilateral home tariffs: Numerical example 6.54 0 ) t n 6.48 0 ) t n ) e) e n cn c o it r e p o it -0.2 r e p p m 6.52 -0.4(p m ( u e du6.46 e d s n a r s n -0.4a r o 6.5 to t c ec e la e r (6.48 -0.8e r f m la e r ( 6.44 -0.6 e r f m e r a o r f e r a -0.8 o r f fle w 6.46 -1.2e g n a fle w6.42 e g n a n hn -1 h g cg c ie r o 6.44 Optimaltari,: -1.6e r a ie r o Optimaltari,: e r a F 1.32 fle W F 6.4 1.23 -1.2fle W 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Homeimporttari,sonForeign(t ) Homeimporttari,sonForeign(t ) hf hf (a) Without search costs (c = 0 ∀do) (b) With search costs (c > 0) do hf Note: ForeignwelfareasafunctionofHomeimporttariffs. Fig. A1aplotsForeignwelfareasfunctionofthe Homeimporttariff,t ,inthenumericalexamplewithoutsearchcosts,c =0∀do. Fig. A1bplotsForeign hf do welfareasfunctionoftheHomeimporttariff,t ,inthenumericalexamplewithsearchcosts,c >0and hf hf c =0∀do̸=hf. SimilartoFigs. 2aand2bbutdepictForeignwelfareinsteadofHomewelfare. See do Section3.2forfurtherdetails.

54 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig. A2: Chinese unilateral tariffs and Chinese and U.S. welfare for reduced and baseline search frictions Panel A: Chinese welfare and Chinese unilateral tariffs 10.7 ) tn 9.15 1 ) tn e e ) $ 6 1 0 2 fo .n 1 1 0 0 . . 5 6 0 1 c r e p ( e n ile s a ) $ 6 1 0 2 fo .n 9. 9 0 . 9 5 1 - 0 0 0 .5 .5 c r e p ( e n ile s a t ( b t ( b e10.4 -1m e8.95 -1 m r a fle w e s e 10.3 -2 o r f e g n a h r a fle w e s e 8. 8 8 . 5 9 - - 2 1.5 o r f e g n a h n c n c ih C 10.2 Optimaltari,: -3e r a ih C 8.8 Optimaltari,: -2.5e r a 10.1 1.36 fle W 8.75 1.15 -3 fleW 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Chineseimporttari,sonUnitedStates(t ) Chineseimporttari,sonUnitedStates(t ) cu cu (a) Intl. search costs reduced to domestic levels (b) Baseline search costs Panel B: U.S. welfare and Chinese unilateral tariffs 10.2 ) 9.76 ) Optimaltari,: tn 0.8 tn 1.36 0.5 e c r 9.74 0.6 e c r ) $ 6 10.1 0 e p ( ) $ 6 9.72 0.4 e p ( 1 0 2 fo 10 - - 1 0.5 e n ile s a 1 0 2 fo 9. 9 6 . 8 7 0 0.2 e n ile s a .n t ( -1.5 b m .n t ( 9.66 -0.2 b m e r a fle w 9.9 - - 2 2 .5 o r f e g n a e r a fle w 9 9 9 . . 6 6 .6 2 4 - - - 0 0 0 . . . 8 6 4o r f e g n a .S .U 9.8 -3 h c e .S .U 9.58 -1 h c e 9.7 -3.5 r a fleW 9 9 . . 5 5 4 6 Optim 1. a 1 l 5 tari,: -1.2 r a fleW 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Chineseimporttari,sonUnitedStates(t cu ) Chineseimporttari,sonUnitedStates(t cu ) (c) Intl. search costs reduced to domestic levels (d) Baseline search costs Note: Fig. A2a(Fig. A2c)plotsChinese(U.S.)welfareasafunctionofChineseimporttariffswithall parametersasinthebaselinebutwithinternationalsearchcostsreducedtotheirdomesticlevelsandgiven byc ×104 =10.43,c ×104 =15.28,c ×104 =10.43,c ×104 =15.28. Fig. A2b(Fig. A2d)plots uu cu uc cc Chinese(U.S)welfareasafunctionofChineseimporttariffsinthebaselinecalibratedmodel,asinTable1. Theleftverticalaxisdenoteslevelsandtherightverticalaxisdenotesthewelfarechangefromobserved 2016tarifflevels. SeeSections5.1and5.2forfurtherdetails.

55 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Fig. A3: Nash equilibrium best responses and welfare Panel A: Pure strategy Nash equilibrium 2 2 Home best response Home best response 1.9 1.9 Foreign best response Foreign best response 1.8 1.8 )1.7 )1.7 fh fh t t (1.6 (1.6 , , ir a1.5 1.3 ir a1.5 1.13 t t e m1.4 e m1.4 o o H1.3 1.33 H1.3 1.2 1.2 1.1 1.1 1.15 1 1 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Foreigntari,(t ) Foreigntari,(t ) fh fh (a) Intl. search costs reduced to domestic levels (b) Baseline search costs Panel B: U.S. welfare given China sets Nash tariff )$ 6 1 0 2 fo .n t( e ra fle w .S .U 1 1 9 0 1 0 9 . . 0 . 9 1 0 1 . . 9 5 0 5 1 5 Nas 1 h .3 t 3 ari,: - - - - - - 0 0 0 0 0 1 1 1 1 0 0 0 0 . . . . . 2 4 6 8 2 . . . . . 2 8 6 4 2 )tn e c re p ( e n ile sa b m o rf e g n a h c e ra fleW )$ 6 1 0 2 fo .n t( e ra fle w .S .U 9 9 9 9 9 9 9 9 9 9 9 9 . . . 9 . . . . . . . . . 9 5 5 5 6 6 6 6 6 6 6 6 6 . . 7 8 9 6 1 2 3 4 5 6 7 8 9 7 Nas 1 h .1 t 5 ari,: - - - - - - - - - - - - 0 0 1 1 1 0 0 0 0 0 0 0 0 0 .1 . . . . . . . . . . . 2 1 9 8 7 6 5 4 3 2 1 )tn e c r e p ( e n ile s a b m o rf e g n a h c e ra fleW 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 U.S.importtari,sonChina(tuc) U.S.importtari,sonChina(tuc) (c) Intl. search costs reduced to domestic levels (d) Baseline search costs Panel C: Chinese welfare given U.S. sets Nash tariff 10 1 )tn 9 )tn )$ 9.95 0.5 e c r )$ 0 e c r e e 6 1 0 2 fo 9. 9 8 . 5 9 - 0 0.5 p ( e n ile 6 1 0 2 fo 8.95 -0.5 p ( e n ile .n t( e 9. 9 7 . 5 8 - - 1 1 .5 s a b m .n t( e 8.9 -1 s a b m ra fle w 9.7 -2 o rf e g ra fle w 8.85 -1.5 o rf e g 9.65 -2.5n n e s e n 9.6 -3 a h c e s e n 8.8 -2 a h c ih C9.55 Nashtari,: -3.5 e ra ih C Nashtari,: e ra 9.5 1.3 fleW 8.75 1.13 -2.5 fleW 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 Chineseimporttari,sonUnitedStates(tcu) Chineseimporttari,sonUnitedStates(tcu) (e) Intl. search costs reduced to domestic levels (f) Baseline search costs Note: Figs. A3a,A3c,andA3eshowresultsforacalibrationinwhichallparametersareasinthebaseline butwithinternationalsearchcostsreducedtotheirdomesticlevelsandgivenbyc ×104 =10.43, uu c ×104 =15.28,c ×104 =10.43,c ×104 =15.28. Figs. A3b,A3d,andA3fshowresultsforour cu uc cc baselinecalibration,asinTable1. PanelAshowsbestresponses. PanelBshowsU.S.welfareasafunction ofU.S.importtariffs. PanelCshowsChinesewelfareasafunctionofChineseimporttariffs. InPanelsBand Ctheothercountry’simporttariffissettoitsrespectiveNashequilibriumsolution. SeeSections5.1and5.2 forfurtherdetails.

56 KROLIKOWSKIANDMCCALLUM:TARIFFSANDGOODS-MARKETFRICTIONS Table A1: Parameters for numerical examples Parameter Value Average Unit Panel A. Producers’ bargaining power (β) 0.50 fraction Risk-free rate (r) 0.05 percent Separation rate (λ) 1.00 Poisson rate Elasticity of substitution (σ) 4.00 elasticity Pareto shape parameter (θ) 3.18 unitless Efficiency of matching function (ξ) 1.00 elasticity Labor endowment in US (L ×10−2) 10.00 mn. people u Labor endowment in CH (L ×10−2) 10.00 mn. people c Firm endowment in US (Nx ×10−2) 50.00 mn. varieties u Firm endowment in CH (Nc ×10−2) 50.00 mn. varieties x Iceberg origin US (A ) 1.00 multiple o=u Iceberg scale (A) 1.00 multiple US domestic tax (t ) 1.00 multiple uu CH import tariff (t ) 1.00 multiple cu US import tariff (t ) 1.00 multiple uc CH domestic tax (t ) 1.00 multiple cc Internal distance US to US (D ) 1.00 kkm uu Distance to CH from US (D ) 10.00 kkm cu Distance to US from CH (D ) 10.00 kkm uc Internal distance CH to CH (D ) 1.00 kkm cc Panel B. US domestic search cost (c ×104) 0.00 0.00 labor uu CH importers’ search cost (c ×104) 0.00 0.00 labor cu US importers’ search cost (c ×104) 5.00 8.27 labor uc CH domestic search cost (c ×104) 0.00 0.00 labor cc US domestic fixed cost (f ×104) 23.00 labor uu US export fixed cost (f ×104) 4.50 labor cu CH export fixed cost (f ×104) 4.50 labor uc CH domestic fixed cost (f ×104) 23.00 labor cc US exploration cost (ex) 0.10 labor u CH exploration cost (ex) 0.10 labor c Iceberg destination US (A ×10−2) 34.13 multiple d=u Iceberg destination CH (A ×10−2) 34.13 multiple d=c Iceberg origin CH (A ) 1.00 multiple o=c Iceberg distance (a ) 0.35 elasticity 1 Elasticity of matching function (η) 0.50 elasticity Note: ParametersforthenumericalexamplesinSection3. The‘‘Value’’columnshowstheparametersinthe modelwithsearchfrictionsexceptforl =s =h =0∀do. Theonlydifferencebetween do do do parameterizationsinthenumericalexampleswithandwithoutsearchfrictionsisthatthemodelwithout searchhasc =0. Thelevelsoftheretailersearchcosts,c ,donothavemeaningbecausetheydependon hf do thenormalizationofthematchingefficiency,ξ,asinShimer(2005). Assuch,the‘‘Average’’columnreports averageretailersearchcosts,c /χ(κ ),whichhaveintrinsicmeaning. Calibratedparametersofthemodel do do areatannualfrequency. ‘‘H’’standsforHomeand‘‘F’’standsforForeign. SeeAppendixB.2.2fordetails.

Cite this document
APA
Pawel M. Krolikowski and Andrew H. McCallum (2026). Tariffs and Goods-Market Search Frictions (IFDP 2026-1437). Board of Governors of the Federal Reserve System, International Finance Discussion Papers. https://whenthefedspeaks.com/doc/ifdp_2026-1437
BibTeX
@techreport{wtfs_ifdp_2026_1437,
  author = {Pawel M. Krolikowski and Andrew H. McCallum},
  title = {Tariffs and Goods-Market Search Frictions},
  type = {International Finance Discussion Papers},
  number = {2026-1437},
  institution = {Board of Governors of the Federal Reserve System},
  year = {2026},
  url = {https://whenthefedspeaks.com/doc/ifdp_2026-1437},
  abstract = {We study tariffs in a general equilibrium dynamic model with search frictions between heterogeneous exporting producers and importing retailers. We show the model has a unique equilibrium and analytically characterize home unilateral import tariffs that maximize welfare given a passive foreign country. Search frictions add two terms to the standard optimal tariff expression: One lowers tariffs when contact rates are low; another when private export costs exceed social opportunity costs. Search frictions also introduce new incentives to subsidize imports due to market thickness effects. We calibrate our baseline to U.S. and Chinese 2016 data. We compare this baseline to a counterfactual with international search costs reduced to domestic levels but with all other parameters fixed. We find that higher baseline search costs reduce optimal U.S. unilateral and Nash tariffs and attenuate welfare responses to tariff changes.},
}